Added etags rule

This commit is contained in:
Ronald G. Minnich 2001-06-06 05:22:30 +00:00
commit 463dafc4a7
3 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,7 @@ makerule all : linuxbios.rom ;
makerule linuxbios.rom: linuxbios.strip makerom ; ./makerom -l0x310000 -i7 -v linuxbios.strip -o linuxbios.rom
makerule linuxbios.strip: linuxbios ; objcopy -O binary -R .note -R .comment -S linuxbios linuxbios.strip
makerule linuxbios: linuxbios.a ; @rm -f biosobject
makerule etags: $(SOURCES) ; etags $(SOURCES)
addaction linuxbios $(LINK)
addaction linuxbios nm -n linuxbios > linuxbios.map

View file

@ -10,6 +10,7 @@ makerule romimage : linuxbios.rom vmlinux.bin.gz.block ; cat vmlinux.bin.gz.bloc
makerule linuxbios.rom: linuxbios.strip mkrom ; ./mkrom -s 64 -f -o linuxbios.rom linuxbios.strip
makerule linuxbios.strip: linuxbios ; objcopy -O binary -R .note -R .comment -S linuxbios linuxbios.strip
makerule linuxbios: linuxbios.a vmlinux.bin.gz ; @rm -f biosobject
makerule etags: $(SOURCES) ; etags $(SOURCES)
addaction linuxbios $(LINK)
addaction linuxbios nm -n linuxbios > linuxbios.map

View file

@ -510,6 +510,7 @@ def writemakefile(path):
for i in range(len(objectrules)):
file.write("OBJECTS += %s\n" % (objectrules[i][0]))
file.write("SOURCES=\n")
# print out the user defines
for i in range(len(userdefines)):
@ -540,6 +541,7 @@ def writemakefile(path):
source = source + ".c"
file.write( "%s: %s\n" % (objectrules[i][0], source))
file.write( "%s\n" % objectrules[i][2])
file.write("SOURCES += %s\n" % source)
# print out the linux rules
# these go here because some pieces depend on user rules