summaryrefslogtreecommitdiff
path: root/util/newconfig/config.g
diff options
context:
space:
mode:
Diffstat (limited to 'util/newconfig/config.g')
-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