aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--conf.py3
m---------scripts/buildroot0
-rw-r--r--scripts/kernel.py7
4 files changed, 11 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules
index 3a95bb0..e04bd61 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -4,3 +4,6 @@
[submodule "scripts/novaboot"]
path = scripts/novaboot
url = https://github.com/wentasah/novaboot.git
+[submodule "scripts/buildroot"]
+ path = scripts/buildroot
+ url = http://git.buildroot.net/git/buildroot.git
diff --git a/conf.py b/conf.py
index 0343e6b..9844d4e 100644
--- a/conf.py
+++ b/conf.py
@@ -36,7 +36,8 @@ iteration_file = build_folder + '/iteration'
# Programs paths
parse_kconfig = checkXf(pf('scripts/parse_kconfig/parse'), 'You must build programs first.')
-# Programs output hide
+# Programs output show/hide
parse_kconfig_output = False
minisat_output = False
kernel_config_output = False
+kernel_make_output = True
diff --git a/scripts/buildroot b/scripts/buildroot
new file mode 160000
+Subproject 53903a1520420ae92fc1a9b4ffa6df8efff266f
diff --git a/scripts/kernel.py b/scripts/kernel.py
index 58e3287..0b62826 100644
--- a/scripts/kernel.py
+++ b/scripts/kernel.py
@@ -21,5 +21,10 @@ def config():
def make():
wd = os.getcwd()
os.chdir(conf.linux_sources)
- subprocess.call(['make'] + conf.linux_make_args, env=utils.get_kernel_env())
+ if conf.kernel_make_output:
+ subprocess.call(['make'] + conf.linux_make_args,
+ env=utils.get_kernel_env())
+ else:
+ subprocess.call(['make'] + conf.linux_make_args,
+ stdout=subprocess.DEVNULL, env=utils.get_kernel_env())
os.chdir(wd)