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')
|
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:
|
if cfg.options.disable_networking:
|
||||||
env.CXXFLAGS += ['-DAP_NETWORKING_ENABLED=0']
|
env.CXXFLAGS += ['-DAP_NETWORKING_ENABLED=0']
|
||||||
|
|
||||||
|
|
5
wscript
5
wscript
|
@ -180,6 +180,11 @@ def options(opt):
|
||||||
action='store_true',
|
action='store_true',
|
||||||
default=False,
|
default=False,
|
||||||
help='enable OS level thread statistics.')
|
help='enable OS level thread statistics.')
|
||||||
|
|
||||||
|
g.add_option('--enable-ppp',
|
||||||
|
action='store_true',
|
||||||
|
default=False,
|
||||||
|
help='enable PPP networking.')
|
||||||
|
|
||||||
g.add_option('--bootloader',
|
g.add_option('--bootloader',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
|
|
Loading…
Reference in New Issue