mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 07:13:56 -04:00
waf:libcanard moved to modules/DroneCAN
This commit is contained in:
parent
e7ab56674b
commit
abdcd11f9a
4
wscript
4
wscript
@ -510,7 +510,7 @@ def configure(cfg):
|
||||
_collect_autoconfig_files(cfg)
|
||||
|
||||
def generate_dronecan_dsdlc(cfg):
|
||||
dsdlc_gen_path = cfg.bldnode.make_node('modules/libcanard/dsdlc_generated').abspath()
|
||||
dsdlc_gen_path = cfg.bldnode.make_node('modules/DroneCAN/libcanard/dsdlc_generated').abspath()
|
||||
src = cfg.srcnode.ant_glob('modules/DroneCAN/DSDL/* libraries/AP_UAVCAN/dsdl/*', dir=True, src=False)
|
||||
dsdlc_path = cfg.srcnode.make_node('modules/DroneCAN/dronecan_dsdlc/dronecan_dsdlc.py').abspath()
|
||||
if not os.path.exists(dsdlc_path):
|
||||
@ -734,7 +734,7 @@ def _load_pre_build(bld):
|
||||
return
|
||||
brd = bld.get_board()
|
||||
if bld.env.AP_PERIPH:
|
||||
dsdlc_gen_path = bld.bldnode.make_node('modules/libcanard/dsdlc_generated/include').abspath()
|
||||
dsdlc_gen_path = bld.bldnode.make_node('modules/DroneCAN/libcanard/dsdlc_generated/include').abspath()
|
||||
#check if canard dsdlc directory empty
|
||||
# check if directory exists
|
||||
if not os.path.exists(dsdlc_gen_path) or not os.listdir(dsdlc_gen_path):
|
||||
|
Loading…
Reference in New Issue
Block a user