Browse Source

Tools: bootloaders should not include scripting

master
Michael du Breuil 6 years ago committed by Andrew Tridgell
parent
commit
4893b85983
  1. 4
      Tools/ardupilotwaf/boards.py

4
Tools/ardupilotwaf/boards.py

@ -141,6 +141,10 @@ class Board: @@ -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']

Loading…
Cancel
Save