fix typos in config.g, and don't arbitrarily hide some build information

(doesn't make sense in v2). For silent build, use make -s
(trivial)

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3438 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2008-08-01 11:20:09 +00:00 committed by Stefan Reinauer
parent 96e3022cd4
commit 7e4954cd3f
1 changed files with 1 additions and 5 deletions

View File

@ -223,7 +223,7 @@ class romimage:
# init object files added by 'initobject' directive # init object files added by 'initobject' directive
self.initobjectrules = {} self.initobjectrules = {}
# driver files added by 'drive' directive # driver files added by 'driver' directive
self.driverrules = {} self.driverrules = {}
# loader scripts added by 'ldscript' directive # loader scripts added by 'ldscript' directive
@ -2072,11 +2072,9 @@ def writeimagemakefile(image):
if (type == 'S'): if (type == 'S'):
# for .S, .o depends on .s # for .S, .o depends on .s
file.write("%s: %s.s\n" % (init[0], init[3])) file.write("%s: %s.s\n" % (init[0], init[3]))
file.write("\t@echo $(CC) ... -o $@ $<\n")
file.write("\t$(CC) -c $(CPU_OPT) -o $@ $<\n") file.write("\t$(CC) -c $(CPU_OPT) -o $@ $<\n")
# and .s depends on .S # and .s depends on .S
file.write("%s.s: %s\n" % (init[3], source)) file.write("%s.s: %s\n" % (init[3], source))
file.write("\t@echo $(CPP) ... $< > $@\n")
# Note: next 2 lines are ONE output line! # Note: next 2 lines are ONE output line!
file.write("\t$(CPP) $(CPPFLAGS) $< ") file.write("\t$(CPP) $(CPPFLAGS) $< ")
file.write(">$@.new && mv $@.new $@\n") file.write(">$@.new && mv $@.new $@\n")
@ -2091,11 +2089,9 @@ def writeimagemakefile(image):
if (type == 'S'): if (type == 'S'):
# for .S, .o depends on .s # for .S, .o depends on .s
file.write("%s: %s.s\n" % (obj[0], obj[3])) file.write("%s: %s.s\n" % (obj[0], obj[3]))
file.write("\t@echo $(CC) ... -o $@ $<\n")
file.write("\t$(CC) -c $(CPU_OPT) -o $@ $<\n") file.write("\t$(CC) -c $(CPU_OPT) -o $@ $<\n")
# and .s depends on .S # and .s depends on .S
file.write("%s.s: %s\n" % (obj[3], source)) file.write("%s.s: %s\n" % (obj[3], source))
file.write("\t@echo $(CPP) ... $< > $@\n")
# Note: next 2 lines are ONE output line! # Note: next 2 lines are ONE output line!
file.write("\t$(CPP) $(CPPFLAGS) $< ") file.write("\t$(CPP) $(CPPFLAGS) $< ")
file.write(">$@.new && mv $@.new $@\n") file.write(">$@.new && mv $@.new $@\n")