summaryrefslogtreecommitdiff
path: root/util/newconfig
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-06-24 22:51:16 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-06-24 22:51:16 +0000
commited27a5e5474b0c23dbedca9519f72265a8f1cf51 (patch)
tree8512216396179f442157576b07b17d4709dbfc7e /util/newconfig
parentcb18b80e38c34238279d5fe3584e9ee500df9201 (diff)
needed rules for DRIVER
more fixes to various Config.lb one last problem and we're there git-svn-id: svn://svn.coreboot.org/coreboot/trunk@911 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/newconfig')
-rw-r--r--util/newconfig/config.g3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g
index ad06bc4ec0..0b96569889 100644
--- a/util/newconfig/config.g
+++ b/util/newconfig/config.g
@@ -796,7 +796,7 @@ CPUFLAGS := $(foreach _var_,$(VARIABLES),$(call D_item,$(_var_)))
# print out all the object dependencies
file.write("\n# object dependencies (objectrules:)\n")
file.write("OBJECTS :=\n")
- file.write("DRIVERS :=\n")
+ file.write("DRIVER :=\n")
for objrule in objectrules.keys():
obj = objectrules[objrule]
obj_name = obj[0]
@@ -857,6 +857,7 @@ CPUFLAGS := $(foreach _var_,$(VARIABLES),$(call D_item,$(_var_)))
driver = driverrules[driverrule]
source = topify(driver[1])
file.write("%s: %s\n" % (driver[0], source))
+ file.write("\t$(CC) -c $(CFLAGS) -o $@ $<\n")
#file.write("%s\n" % objrule[2])
# Print out the rules that will make cause the files