summaryrefslogtreecommitdiff
path: root/util/newconfig
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@xmission.com>2004-11-05 08:50:54 +0000
committerEric Biederman <ebiederm@xmission.com>2004-11-05 08:50:54 +0000
commitc1492104629fdd61419887636a3c1ed9a280ecce (patch)
treefe3fc99af6c04b94cbac7320cf9151518186661e /util/newconfig
parent0e99655670a61aebb9d46dd46f8d99ff193051f4 (diff)
downloadcoreboot-c1492104629fdd61419887636a3c1ed9a280ecce.tar.xz
- In the makefile header get the name of the Makefile correct
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1752 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/newconfig')
-rw-r--r--util/newconfig/config.g4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/newconfig/config.g b/util/newconfig/config.g
index 60b8d4f249..09663aaa44 100644
--- a/util/newconfig/config.g
+++ b/util/newconfig/config.g
@@ -1902,8 +1902,8 @@ parser Config:
#=============================================================================
def writemakefileheader(file, fname):
file.write("# File: %s is autogenerated\n" % fname)
- file.write("Makefile: %s %s\n"
- % (os.path.abspath(sys.argv[0]), top_config_file))
+ file.write("%s: %s %s\n"
+ % (os.path.basename(fname), os.path.abspath(sys.argv[0]), top_config_file))
file.write("\t(cd %s ; %s %s %s)\n\n"
% (os.getcwd(), sys.argv[0], sys.argv[1], sys.argv[2]))