Author: stepan Date: 2009-07-21 23:22:40 +0200 (Tue, 21 Jul 2009) New Revision: 4448
Modified: trunk/coreboot-v2/util/newconfig/config.g Log: - Remove superfluous / from path - use make -C instead of workaround
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Peter Stuge peter@stuge.se Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Modified: trunk/coreboot-v2/util/newconfig/config.g =================================================================== --- trunk/coreboot-v2/util/newconfig/config.g 2009-07-21 21:20:45 UTC (rev 4447) +++ trunk/coreboot-v2/util/newconfig/config.g 2009-07-21 21:22:40 UTC (rev 4448) @@ -357,7 +357,7 @@ rel_base = base else: rel_base = re.sub(treetop, "", os.path.join(dirstack.tos(), base)) - source = "$(TOP)/" + rel_base + suffix + source = "$(TOP)" + rel_base + suffix if (rel_base[0] == '/'): rel_base = re.sub("^/", "", rel_base) object = rel_base + '.o' @@ -2263,9 +2263,7 @@ file.write("include Makefile.settings\n\n") for i, o in romimages.items(): file.write("%s/coreboot.rom:\n" % o.getname()) - file.write("\tif (cd %s; \\n" % o.getname()) - file.write("\t\t$(MAKE) coreboot.rom)\\n") - file.write("\tthen true; else exit 1; fi;\n\n") + file.write("\t$(MAKE) -C %s coreboot.rom\n" % o.getname()) file.write("clean: ") for i in romimages.keys(): file.write(" %s-clean" % i)