summaryrefslogtreecommitdiffstats
path: root/src/makefile
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/makefile
parent6dbab3072e8f50e25137fa53c7ffce0d111c2338 (diff)
downloadtalos-hostboot-fbedff5e909777a1d646947bd4f9beca6ddf7024.tar.gz
talos-hostboot-fbedff5e909777a1d646947bd4f9beca6ddf7024.zip
Add linker in preparation for modules.
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/makefile b/src/makefile
index ba538037f..6045de28b 100644
--- a/src/makefile
+++ b/src/makefile
@@ -1,13 +1,15 @@
-IMGDIR = ../img
-OBJDIR = ../obj
-include ../config.mk
+ROOTPATH = ..
+IMGDIR = ${ROOTPATH}/img
+OBJDIR = ${ROOTPATH}/obj/hbicore
-SUBDIRS = kernel.d lib.d libc++.d sys.d
-IMAGES += ${IMGDIR}/kernel.elf
-IMAGES += ${IMGDIR}/kernel.bin
+SUBDIRS = kernel.d lib.d libc++.d sys.d bld.d
+IMAGES += ${IMGDIR}/hbicore.elf
+IMAGES += ${IMGDIR}/hbicore.bin
all: ${SUBDIRS}
${MAKE} ${IMAGES}
clean: $(patsubst %.d,%.clean, ${SUBDIRS})
(rm -f ${IMAGES} $(addsuffix .map, ${IMAGES}) )
+
+include ../config.mk
OpenPOWER on IntegriCloud