diff options
-rw-r--r-- | scripts/initialize.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/initialize.py b/scripts/initialize.py index 66236e5..f39f6a3 100644 --- a/scripts/initialize.py +++ b/scripts/initialize.py @@ -24,6 +24,11 @@ def kconfig_parser(): def gen_requred(): "Generates required depenpency from required file." + + if not os.path.isfile(conf.linux_sources + '/.config'): + raise MissingFile(conf.linux_sources + '/.config', + 'Generate initial configuration. Execute make defconfig in linux folder. Or use make menuconfig and change configuration.') + utils.build_symbol_map() # Ensure smap existence srmap = {value:key for key, value in utils.smap.items()} |