mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
- 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
This commit is contained in:
parent
f8519dc8dc
commit
273595c6f7
1 changed files with 2 additions and 2 deletions
|
@ -1933,8 +1933,8 @@ def writemakefileheader(file, fname):
|
||||||
def writemakefilefooter(file, fname):
|
def writemakefilefooter(file, fname):
|
||||||
file.write("\n\n%s: %s %s\n"
|
file.write("\n\n%s: %s %s\n"
|
||||||
% (os.path.basename(fname), os.path.abspath(sys.argv[0]), top_config_file))
|
% (os.path.basename(fname), os.path.abspath(sys.argv[0]), top_config_file))
|
||||||
file.write("\t(cd %s ; %s %s %s)\n\n"
|
file.write("\t(cd %s ; export PYTHONPATH=%s/util/newconfig ; python %s %s %s)\n\n"
|
||||||
% (os.getcwd(), sys.argv[0], sys.argv[1], sys.argv[2]))
|
% (os.getcwd(), treetop, sys.argv[0], sys.argv[1], sys.argv[2]))
|
||||||
|
|
||||||
def writemakefilesettings(path):
|
def writemakefilesettings(path):
|
||||||
""" Write Makefile.settings to seperate the settings
|
""" Write Makefile.settings to seperate the settings
|
||||||
|
|
Loading…
Add table
Reference in a new issue