Tools: bootloaders should not include scripting

This commit is contained in:
Michael du Breuil 2019-06-18 15:18:54 -07:00 committed by Andrew Tridgell
parent 8f88639d38
commit 4893b85983

View File

@ -141,6 +141,10 @@ class Board:
'-O0',
]
if cfg.options.bootloader:
# don't let bootloaders try and pull scripting in
cfg.options.disable_scripting = True
if cfg.options.enable_math_check_indexes:
env.CXXFLAGS += ['-DMATH_CHECK_INDEXES']