mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-09 15:57:50 -06:00
🔨 Minor build script changes
This commit is contained in:
parent
6577fba768
commit
edeea5a6fb
4 changed files with 15 additions and 14 deletions
|
@ -40,7 +40,10 @@ def run_preprocessor(env, fn=None):
|
|||
depcmd = cmd + [ filename ]
|
||||
cmd = ' '.join(depcmd)
|
||||
blab(cmd)
|
||||
define_list = subprocess.check_output(cmd, shell=True).splitlines()
|
||||
try:
|
||||
define_list = subprocess.check_output(cmd, shell=True).splitlines()
|
||||
except:
|
||||
define_list = {}
|
||||
preprocessor_cache[filename] = define_list
|
||||
return define_list
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue