aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rwxr-xr-xscripts/initialize.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 88a9c02..902f0c2 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,10 @@ mlinux:
deflinux:
ARCH=$(CONF_KERNEL_ARCH) $(MAKE) -C linux defconfig
+dot_config: allconfig
+ cd linux && SRCARCH=$(CONF_KERNEL_ARCH) ARCH=$(CONF_KERNEL_ARCH) KERNELVERSION=$(CONF_KERNEL_ARCH) \
+ ../scripts/allconfig/allconfig Kconfig .config ../$(CONF_DOT_CONFIG)
+
init: initialize
initialize: parse_kconfig picosat
scripts/initialize.py
diff --git a/scripts/initialize.py b/scripts/initialize.py
index 36da24d..76a78e9 100755
--- a/scripts/initialize.py
+++ b/scripts/initialize.py
@@ -68,7 +68,7 @@ def gen_requred():
if not os.path.isfile(sf(conf.dot_config)):
raise exceptions.MissingFile(sf(conf.dot_config),
- 'Generate fixed configuration.')
+ 'Generate fixed configuration. Use make dot_config.')
utils.build_symbol_map() # Ensure smap existence
srmap = {value:key for key, value in utils.smap.items()} # swap dictionary