diff options
author | Karel Kočí <cynerd@email.cz> | 2015-05-14 22:41:26 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-05-14 22:41:26 +0200 |
commit | dc1d4a961622d209d4b99273707accd5250a02f9 (patch) | |
tree | 35a84d7ab734c9776ae0d7917785ccd25296cba1 | |
parent | 20b6c4eec8b7e6ff6537c177dcbbb77e69f67bcc (diff) | |
download | linux-conf-perf-dc1d4a961622d209d4b99273707accd5250a02f9.tar.gz linux-conf-perf-dc1d4a961622d209d4b99273707accd5250a02f9.tar.bz2 linux-conf-perf-dc1d4a961622d209d4b99273707accd5250a02f9.zip |
Ezecute initialize parse_kconfig only in case of missing files
-rwxr-xr-x | scripts/initialize.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/initialize.py b/scripts/initialize.py index c77803c..e38e2b8 100755 --- a/scripts/initialize.py +++ b/scripts/initialize.py @@ -43,6 +43,11 @@ def base(): def parse_kconfig(): "Execute parse_kconfig in linux_sources directory." + if os.path.isfile(sf(conf.symbol_map_file)) and \ + os.path.isfile(sf(conf.rules_file)) and \ + os.path.isfile(sf(conf.variable_count_file)): + print('Warning: parse_kconfig not executed. Files already exists.') + return print('Executing parse_kconfig...') env = dict(os.environ) wd = os.getcwd() |