From 17103623eb2f9d6c589219360829038479ea92c7 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Thu, 27 Sep 2018 15:00:17 -0700 Subject: [PATCH] Tools: Pass ENABLE_SCRIPTING into the system --- Tools/ardupilotwaf/boards.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 17cea89adc..6116cb81b4 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -91,6 +91,11 @@ class Board: '-Werror=unused-result', ] + if cfg.options.enable_scripting: + env.DEFINES.update( + ENABLE_SCRIPTING = 'TRUE', + ) + if 'clang' in cfg.env.COMPILER_CC: env.CFLAGS += [ '-fcolor-diagnostics',