Browse Source

waf: ensure ENABLE_SCRIPTING is always defined

gps-1.3.1
Peter Barker 3 years ago committed by Peter Barker
parent
commit
b83cf3a431
  1. 5
      Tools/ardupilotwaf/boards.py

5
Tools/ardupilotwaf/boards.py

@ -48,6 +48,10 @@ class Board: @@ -48,6 +48,10 @@ class Board:
env.SRCROOT = srcpath('')
self.configure_env(cfg, env)
env.DEFINES.update(
ENABLE_SCRIPTING = 0,
)
# Setup scripting, had to defer this to allow checking board size
if ((not cfg.options.disable_scripting) and
(not cfg.env.DISABLE_SCRIPTING) and
@ -814,7 +818,6 @@ class chibios(Board): @@ -814,7 +818,6 @@ class chibios(Board):
'-Wno-error=double-promotion',
'-Wno-error=missing-declarations',
'-Wno-error=float-equal',
'-Wno-error=undef',
'-Wno-error=cpp',
]

Loading…
Cancel
Save