aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/initialize.py2
-rw-r--r--scripts/kernel.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/initialize.py b/scripts/initialize.py
index 8461b34..64f9f2b 100755
--- a/scripts/initialize.py
+++ b/scripts/initialize.py
@@ -44,7 +44,7 @@ def parse_kconfig():
wd = os.getcwd()
os.chdir(sf(conf.linux_sources))
parse_kconfig_cmd = [sf(conf.parse_kconfig)]
- parse_kconfig_cmd += [sf(conf.linux_kconfig_head), sf(conf.build_folder)]
+ parse_kconfig_cmd += ['Kconfig', sf(conf.build_folder)]
parse_kconfig_cmd += ['-v', '-v']
utils.callsubprocess("parse_kconfig", parse_kconfig_cmd,
conf.parse_kconfig_output, env=utils.get_kernel_env())
diff --git a/scripts/kernel.py b/scripts/kernel.py
index 11dce0f..33fcb79 100644
--- a/scripts/kernel.py
+++ b/scripts/kernel.py
@@ -19,6 +19,8 @@ def config(txtconfig):
try:
utils.callsubprocess('write_config', [sf(conf.write_config), infile.name],
conf.kernel_config_output, env=utils.get_kernel_env())
+ os.rename(sf(conf.linux_sources) + '/.config',
+ sf(conf.linux_build_folder) + '/.config')
except exceptions.ProcessFailed:
raise exceptions.ConfigurationError("some configs mismatch")
infile.close()
@@ -39,7 +41,7 @@ def config(txtconfig):
def make(confhash):
wd = os.getcwd()
- os.chdir(sf(conf.linux_sources))
+ os.chdir(sf(conf.linux_build_folder))
if conf.kernel_make_output:
subprocess.call(conf.build_command, env=utils.get_kernel_env())
else: