File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -39,15 +39,17 @@ def update_all_project_files(root_path):
3939 if os .path .isdir (root_path ):
4040 projects = os .listdir (root_path )
4141 # is a project path?
42- if "SConscript " in projects :
42+ if "SConstruct " in projects :
4343 try :
44- if "win32" in sys .platform :
45- retval = os .getcwd ()
46- os .chdir (root_path )
47- os .system ("menuconfig --silent" )
48- os .chdir (retval )
49- else :
50- os .system ('scons --pyconfig-silent -C {0}' .format (root_path )) # update rtconfig.h and .config
44+ # update rtconfig.h and .config
45+ if "Kconfig" in projects :
46+ if "win32" in sys .platform :
47+ retval = os .getcwd ()
48+ os .chdir (root_path )
49+ os .system ("menuconfig --silent" )
50+ os .chdir (retval )
51+ else :
52+ os .system ('scons --pyconfig-silent -C {0}' .format (root_path ))
5153 update_project_file (root_path )
5254 except Exception as e :
5355 print ("error message: {}" .format (e ))
You can’t perform that action at this time.
0 commit comments