From d0805e0b55e63957b3641fa70cf1db624389e3f6 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Fri, 5 Nov 2004 09:03:47 +0000 Subject: [PATCH] - 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 --- util/newconfig/config.g | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util/newconfig/config.g b/util/newconfig/config.g index 584c1b32c..2e7f4dc6b 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()) -- 2.25.1