summaryrefslogtreecommitdiff
path: root/util/newconfig
diff options
context:
space:
mode:
authorRichard Smith <smithbone@gmail.com>2006-08-11 06:49:39 +0000
committerRichard Smith <smithbone@gmail.com>2006-08-11 06:49:39 +0000
commit273595c6f7adf87f733e95285948aa9dc7564ef1 (patch)
tree58875f239023be3cbdd5552503525058b61f0979 /util/newconfig
parentf8519dc8dc1fb10addc6166caee6affc2413503c (diff)
- fix dependency rule for Makefile and Makefile.settings
The make dependency rule for Makefile and Makefile.settings was completely broken. No way it ever worked. OLPC buildrom flushed out this issue. If you updated the Config.lb file in your target/<mfg>/<mainboard> directory and then switched to target/<mfg>/<mainboard>/<target> and ran 'make' you would get a permission denied error due to the make file trying to run 'config.py' directly rather than 'python config.py' We never saw this because we always run target/buildtarget <target> and that sets up everything correctly. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2373 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 fbd3dcc6ac..f3d68dffc7 100644
--- a/util/newconfig/config.g
+++ b/util/newconfig/config.g
@@ -1933,8 +1933,8 @@ def writemakefileheader(file, fname):
def writemakefilefooter(file, fname):
file.write("\n\n%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]))
+ file.write("\t(cd %s ; export PYTHONPATH=%s/util/newconfig ; python %s %s %s)\n\n"
+ % (os.getcwd(), treetop, sys.argv[0], sys.argv[1], sys.argv[2]))
def writemakefilesettings(path):
""" Write Makefile.settings to seperate the settings