mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: define WAF_BUILD to allow different behavior in make
This commit is contained in:
parent
9ccce2c980
commit
11e508e3a6
3
wscript
3
wscript
@ -130,6 +130,9 @@ def configure(cfg):
|
|||||||
# Always use system extensions
|
# Always use system extensions
|
||||||
cfg.define('_GNU_SOURCE', 1)
|
cfg.define('_GNU_SOURCE', 1)
|
||||||
|
|
||||||
|
# Allow to differentiate our build from the make build
|
||||||
|
cfg.define('WAF_BUILD', 1)
|
||||||
|
|
||||||
cfg.write_config_header(os.path.join(cfg.variant, 'ap_config.h'))
|
cfg.write_config_header(os.path.join(cfg.variant, 'ap_config.h'))
|
||||||
|
|
||||||
def collect_dirs_to_recurse(bld, globs, **kw):
|
def collect_dirs_to_recurse(bld, globs, **kw):
|
||||||
|
Loading…
Reference in New Issue
Block a user