Author: wmb Date: 2007-07-20 03:45:12 +0200 (Fri, 20 Jul 2007) New Revision: 478
Modified: cpu/i8051/build/Makefile Log: 8051 Makefile: Fixed HOSTDIR
Modified: cpu/i8051/build/Makefile =================================================================== --- cpu/i8051/build/Makefile 2007-07-20 01:00:03 UTC (rev 477) +++ cpu/i8051/build/Makefile 2007-07-20 01:45:12 UTC (rev 478) @@ -5,7 +5,7 @@ # XXX need a better way of determining this HOST := x86
-XHOSTDIR := $(shell eval "(cd ../../${HOST}/${OS}; pwd)") +HOSTDIR := $(shell eval "(cd ../../${HOST}/${OS}; pwd)")
all: kernel.hex
@@ -13,17 +13,17 @@
.PRECIOUS: kernel.img
-${XHOSTDIR}/forth: - @make -C ${XHOSTDIR} forth +${HOSTDIR}/forth: + @make -C ${HOSTDIR} forth
sim: kernel.hex s51 -s ${SIMTTY} -X 32M /c/Temp/kernel.hex
-build: ${XHOSTDIR}/forth - @ln -sf ${XHOSTDIR}/forth $@ +build: ${HOSTDIR}/forth + @ln -sf ${HOSTDIR}/forth $@
%.img: FORCE build - ./build $@ + HOSTDIR=${HOSTDIR} ./build $@
%.hex: %.img objcopy -I binary -O ihex $< $@