mirror of https://github.com/ArduPilot/ardupilot
waf: added --enable-ppp option
This commit is contained in:
parent
9d5a54259e
commit
d26530c892
|
@ -148,6 +148,9 @@ class Board:
|
|||
)
|
||||
cfg.msg("Enabled custom controller", 'no', color='YELLOW')
|
||||
|
||||
if cfg.options.enable_ppp:
|
||||
env.CXXFLAGS += ['-DAP_NETWORKING_BACKEND_PPP=1']
|
||||
|
||||
if cfg.options.disable_networking:
|
||||
env.CXXFLAGS += ['-DAP_NETWORKING_ENABLED=0']
|
||||
|
||||
|
|
Loading…
Reference in New Issue