aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-14 22:41:26 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-14 22:41:26 +0200
commitdc1d4a961622d209d4b99273707accd5250a02f9 (patch)
tree35a84d7ab734c9776ae0d7917785ccd25296cba1 /scripts
parent20b6c4eec8b7e6ff6537c177dcbbb77e69f67bcc (diff)
downloadlinux-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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/initialize.py5
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()