mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: fix environment boolean values
It is more natural to use `env.FOO = True` then `env.foo = [True]`.
This commit is contained in:
parent
79b724dce8
commit
86c1c6da5c
@ -213,7 +213,7 @@ class bebop(linux):
|
|||||||
env.DEFINES.update(
|
env.DEFINES.update(
|
||||||
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_BEBOP',
|
CONFIG_HAL_BOARD_SUBTYPE = 'HAL_BOARD_SUBTYPE_LINUX_BEBOP',
|
||||||
)
|
)
|
||||||
env.STATIC_LINKING = [True]
|
env.STATIC_LINKING = True
|
||||||
|
|
||||||
class raspilot(linux):
|
class raspilot(linux):
|
||||||
def configure_env(self, env):
|
def configure_env(self, env):
|
||||||
|
2
wscript
2
wscript
@ -114,7 +114,7 @@ def configure(cfg):
|
|||||||
])
|
])
|
||||||
|
|
||||||
if cfg.options.submodule_update:
|
if cfg.options.submodule_update:
|
||||||
cfg.env.SUBMODULE_UPDATE = [True]
|
cfg.env.SUBMODULE_UPDATE = True
|
||||||
|
|
||||||
def collect_dirs_to_recurse(bld, globs, **kw):
|
def collect_dirs_to_recurse(bld, globs, **kw):
|
||||||
dirs = []
|
dirs = []
|
||||||
|
Loading…
Reference in New Issue
Block a user