diff options
author | Eric Biederman <ebiederm@xmission.com> | 2004-11-05 09:03:47 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2004-11-05 09:03:47 +0000 |
commit | d0805e0b55e63957b3641fa70cf1db624389e3f6 (patch) | |
tree | 8d9d1f79dc8bf95c673e142dff5a84bbd9ae6edb /util | |
parent | 1c1b858f0fc15ce8380759a2b3e03f57b4073d50 (diff) | |
download | coreboot-d0805e0b55e63957b3641fa70cf1db624389e3f6.tar.xz |
- Ensure the all target is the first commands in the makefile....
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1754 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r-- | util/newconfig/config.g | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g index 584c1b32c5..2e7f4dc6bf 100644 --- a/util/newconfig/config.g +++ b/util/newconfig/config.g @@ -1967,6 +1967,8 @@ def writeimagemakefile(image): file = safe_open(makefilepath, 'w+') writemakefileheader(file, makefilepath) + # main rule + file.write("\nall: linuxbios.rom\n\n") #file.write("include cpuflags\n") # Putting "include cpuflags" in the Makefile has the problem that the # cpuflags file would be generated _after_ we want to include it. @@ -1982,8 +1984,6 @@ def writeimagemakefile(image): file.write("%s\n" %i) file.write("\n") - # main rule - file.write("all: linuxbios.rom") # print out all the object dependencies file.write("\n# object dependencies (objectrules:)\n") file.write("INIT-OBJECTS :=\n") @@ -2120,13 +2120,13 @@ def writemakefile(path): print "Creating", makefilepath file = safe_open(makefilepath, 'w+') writemakefileheader(file, makefilepath) - file.write("include Makefile.settings\n\n") # main rule - file.write("all:") + file.write("\nall:") for i in buildroms: file.write(" %s" % i.name) file.write("\n\n") + file.write("include Makefile.settings\n\n") for i, o in romimages.items(): file.write("%s/linuxbios.rom:\n" % o.getname()) file.write("\tif (cd %s; \\\n" % o.getname()) |