[openfirmware] [commit] r2431 - cpu/x86/pc/alex/build
repository service
svn at openfirmware.info
Tue Aug 9 06:25:41 CEST 2011
Author: wmb
Date: Tue Aug 9 06:25:40 2011
New Revision: 2431
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2431
Log:
Alex - added tag rule to makefile.
Modified:
cpu/x86/pc/alex/build/Makefile
Modified: cpu/x86/pc/alex/build/Makefile
==============================================================================
--- cpu/x86/pc/alex/build/Makefile Mon Aug 8 23:18:36 2011 (r2430)
+++ cpu/x86/pc/alex/build/Makefile Tue Aug 9 06:25:40 2011 (r2431)
@@ -1,8 +1,19 @@
OS := $(shell uname)
-all: ofw.elf
+CPUDIR=../../..
+BASEDIR := $(shell cd ${CPUDIR}/../..; pwd;)
+TAGFILES= ${CPUDIR}/build/*.tag *.tag
+CLIENTDIR=${BASEDIR}/clients
+CLIENTPROGS=
-ofw.elf: FORCE build ../../../build/inflate.bin
+all: ofw.elf tags
+
+fw.tag: ofw.elf
+
+tags: fw.tag
+ @${BASEDIR}/forth/lib/toctags ${BASEDIR} ${TAGFILES}
+
+ofw.elf: FORCE build ../../../build/inflate.bin ${CLIENTPROGS}
./build $@
../../../${OS}/forth:
@@ -15,7 +26,7 @@
@ln -sf ../../../${OS}/forth build
clean:
- rm -f *.dic *.log headers *~ *.elf *.di *.img builton.fth build
+ rm -f *.dic *.log headers *~ *.elf *.di *.img builton.fth build *.rom *.version *.bin *.tag tags
clean-all: clean
@make -C ../../../build clean
More information about the openfirmware
mailing list