summaryrefslogtreecommitdiffstats
path: root/src/sys/init
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2010-08-20 18:11:26 -0500
committerPatrick Williams <iawillia@us.ibm.com>2010-08-20 18:11:26 -0500
commitfbedff5e909777a1d646947bd4f9beca6ddf7024 (patch)
tree9904d043dc60fc11c6fb0649f3c8393070fd0348 /src/sys/init
parent6dbab3072e8f50e25137fa53c7ffce0d111c2338 (diff)
downloadtalos-hostboot-fbedff5e909777a1d646947bd4f9beca6ddf7024.tar.gz
talos-hostboot-fbedff5e909777a1d646947bd4f9beca6ddf7024.zip
Add linker in preparation for modules.
Diffstat (limited to 'src/sys/init')
-rw-r--r--src/sys/init/makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sys/init/makefile b/src/sys/init/makefile
index 4a1ecf48b..ba07a8647 100644
--- a/src/sys/init/makefile
+++ b/src/sys/init/makefile
@@ -1,5 +1,5 @@
-OBJDIR = ../../../obj
-include ../../../config.mk
+ROOTPATH = ../../..
+OBJDIR = ${ROOTPATH}/obj/hbicore
OBJS = init_main.o
OBJECTS = $(addprefix ${OBJDIR}/, ${OBJS})
@@ -8,3 +8,5 @@ all: ${OBJECTS}
clean:
(rm -f ${OBJECTS} )
+
+include ../../../config.mk
OpenPOWER on IntegriCloud