[openfirmware] [commit] r1928 - cpu/arm/mmp2/build

repository service svn at openfirmware.info
Wed Aug 11 06:55:29 CEST 2010


Author: wmb
Date: Wed Aug 11 06:55:28 2010
New Revision: 1928
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/1928

Log:
ARM - sorted out some dependencies in the mmp2 Makefile.

Modified:
   cpu/arm/mmp2/build/Makefile

Modified: cpu/arm/mmp2/build/Makefile
==============================================================================
--- cpu/arm/mmp2/build/Makefile	Wed Aug 11 06:54:43 2010	(r1927)
+++ cpu/arm/mmp2/build/Makefile	Wed Aug 11 06:55:28 2010	(r1928)
@@ -4,6 +4,7 @@
 TAGFILES= ../../build/*.tag *.tag
 CLIENTDIR=../../../../clients
 CLIENTPROGS=
+BUILDSH= ${BASEDIR}/forth/lib/build.sh
 
 all: mmp2.rom tags
 
@@ -12,7 +13,7 @@
 tags: mmp2.tag
 	@${BASEDIR}/forth/lib/toctags ${BASEDIR} ${TAGFILES}
 
-mmp2.rom: FORCE build ${CLIENTPROGS}
+mmp2.rom: FORCE build ../../${OS}/forth ${CLIENTPROGS}
 	./build $@
 
 ../../${OS}/forth:
@@ -21,8 +22,8 @@
 ../../build/inflate.bin:
 	@make -C ../../build inflate.bin
 
-build: ../../${OS}/forth
-	@ln -sf ../../${OS}/forth build
+build:
+	@ln -sf ${BUILDSH} build
 
 clean:
 	rm -f *.dic *.log headers *~ *.elf *.di *.img builton.fth build *.rom *.version



More information about the openfirmware mailing list