diff options
Diffstat (limited to 'build_rules')
-rw-r--r-- | build_rules | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build_rules b/build_rules index 225d86a..3fa0f91 100644 --- a/build_rules +++ b/build_rules @@ -58,7 +58,7 @@ def select_stm32(env, variant): print 'Unknown stm32 family: %s' % mcu Exit(1) -def SelectMCU(env, mcu): +def SelectMCU(env, mcu, variant_dir = None): mcu = mcu.lower() if mcu.startswith('stm32'): @@ -68,7 +68,7 @@ def SelectMCU(env, mcu): print 'Unknown MCU: %s' % mcu Exit(1) - SConscript(main_sconscript, exports = 'env') + SConscript(main_sconscript, variant_dir = variant_dir, exports = 'env') AddMethod(Environment, SelectMCU) @@ -78,3 +78,5 @@ def Firmware(env, target, sources): return firmware AddMethod(Environment, Firmware) + +# vim: syn=python |