TAGS are back!

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@926 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Ronald G. Minnich 2003-06-30 17:04:35 +00:00
parent d1ea53995c
commit b5391cc4b9
1 changed files with 3 additions and 1 deletions

View File

@ -797,17 +797,20 @@ CPUFLAGS := $(foreach _var_,$(VARIABLES),$(call D_item,$(_var_)))
file.write("\n# object dependencies (objectrules:)\n") file.write("\n# object dependencies (objectrules:)\n")
file.write("OBJECTS :=\n") file.write("OBJECTS :=\n")
file.write("DRIVER :=\n") file.write("DRIVER :=\n")
file.write("\nSOURCES :=\n")
for objrule in objectrules.keys(): for objrule in objectrules.keys():
obj = objectrules[objrule] obj = objectrules[objrule]
obj_name = obj[0] obj_name = obj[0]
obj_source = obj[1] obj_source = obj[1]
file.write("OBJECTS-1 += %s\n" % (obj_name)) file.write("OBJECTS-1 += %s\n" % (obj_name))
file.write("SOURCES += %s\n" % (obj_source))
for driverrule in driverrules.keys(): for driverrule in driverrules.keys():
driver = driverrules[driverrule] driver = driverrules[driverrule]
obj_name = driver[0] obj_name = driver[0]
obj_source = driver[1] obj_source = driver[1]
file.write("DRIVER += %s\n" % (obj_name)) file.write("DRIVER += %s\n" % (obj_name))
file.write("SOURCES += %s\n" % (obj_source))
# Print out all ldscript.ld dependencies. # Print out all ldscript.ld dependencies.
file.write("\n# ldscript.ld dependencies:\n") file.write("\n# ldscript.ld dependencies:\n")
@ -824,7 +827,6 @@ CPUFLAGS := $(foreach _var_,$(VARIABLES),$(call D_item,$(_var_)))
else: else:
file.write("CRT0_INCLUDES += $(TOP)/src/%s\n" % i) file.write("CRT0_INCLUDES += $(TOP)/src/%s\n" % i)
file.write("\nSOURCES=\n")
#for source in sources: #for source in sources:
#file.write("SOURCES += %s\n" % source) #file.write("SOURCES += %s\n" % source)