diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-07-21 21:22:40 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-07-21 21:22:40 +0000 |
commit | 163ff1d5ad6e16d7f02692263ab3026e43a2a46e (patch) | |
tree | e17ef72b305808c5c81c3c4e0daae83c71d9fd30 /util/newconfig | |
parent | bb01f600c86ab05ee8e871a8adca2e6a78cf1894 (diff) | |
download | coreboot-163ff1d5ad6e16d7f02692263ab3026e43a2a46e.tar.xz |
- 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>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4448 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/newconfig')
-rw-r--r-- | util/newconfig/config.g | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g index 81ce429021..b7f397d5c7 100644 --- a/util/newconfig/config.g +++ b/util/newconfig/config.g @@ -357,7 +357,7 @@ class romimage: 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 @@ def writemakefile(path): 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) |