mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_Networking: new location for lwip
This commit is contained in:
parent
8b3f3bc2d2
commit
9d5a54259e
@ -5,26 +5,20 @@ import pathlib
|
|||||||
|
|
||||||
def configure(cfg):
|
def configure(cfg):
|
||||||
extra_src = [
|
extra_src = [
|
||||||
'modules/ChibiOS/ext/lwip/src/core/*c',
|
'modules/lwip/src/core/*c',
|
||||||
'modules/ChibiOS/ext/lwip/src/core/ipv4/*c',
|
'modules/lwip/src/core/ipv4/*c',
|
||||||
'modules/ChibiOS/ext/lwip/src/api/*c',
|
'modules/lwip/src/api/*c',
|
||||||
'modules/ChibiOS/ext/lwip/src/netif/*c',
|
'modules/lwip/src/netif/*c',
|
||||||
'modules/ChibiOS/ext/lwip/src/netif/ppp/*c',
|
'modules/lwip/src/netif/ppp/*c',
|
||||||
]
|
]
|
||||||
|
|
||||||
extra_src_inc = [
|
extra_src_inc = [
|
||||||
'modules/ChibiOS/ext/lwip/src/include',
|
'modules/lwip/src/include',
|
||||||
]
|
]
|
||||||
|
|
||||||
if cfg.env.BOARD_CLASS == "SITL":
|
extra_src.extend(['libraries/AP_Networking/lwip_hal/arch/*cpp'])
|
||||||
extra_src.extend(['libraries/AP_Networking/lwip_hal/arch/*cpp'])
|
extra_src_inc.extend(['libraries/AP_Networking/config',
|
||||||
extra_src_inc.extend(['libraries/AP_Networking/config',
|
'libraries/AP_Networking/lwip_hal/include'])
|
||||||
'libraries/AP_Networking/lwip_hal/include'])
|
|
||||||
|
|
||||||
if cfg.env.BOARD_CLASS == "ChibiOS":
|
|
||||||
extra_src.extend(['libraries/AP_Networking/lwip_hal/arch/*cpp'])
|
|
||||||
extra_src_inc.extend(['libraries/AP_Networking/config',
|
|
||||||
'libraries/AP_Networking/lwip_hal/include'])
|
|
||||||
|
|
||||||
cfg.env.AP_LIB_EXTRA_SOURCES['AP_Networking'] = []
|
cfg.env.AP_LIB_EXTRA_SOURCES['AP_Networking'] = []
|
||||||
for pattern in extra_src:
|
for pattern in extra_src:
|
||||||
|
Loading…
Reference in New Issue
Block a user