Tools: move Arming, Beacon and RC_Mapper into ardupilotwaf.py

these were built for all vehicles, so put them in the common list
This commit is contained in:
Peter Barker 2024-04-16 21:21:40 +10:00 committed by Andrew Tridgell
parent 9da6ff4ba5
commit 8c5136e06d
2 changed files with 3 additions and 3 deletions

View File

@ -17,9 +17,6 @@ def build(bld):
name=vehicle + '_libs', name=vehicle + '_libs',
ap_vehicle=vehicle, ap_vehicle=vehicle,
ap_libraries=bld.ap_common_vehicle_libraries() + [ ap_libraries=bld.ap_common_vehicle_libraries() + [
'AP_Beacon',
'AP_Arming',
'AP_RCMapper',
'AP_OSD', 'AP_OSD',
'AP_Avoidance', 'AP_Avoidance',
], ],

View File

@ -118,6 +118,9 @@ COMMON_VEHICLE_DEPENDENT_LIBRARIES = [
'AP_CheckFirmware', 'AP_CheckFirmware',
'AP_ExternalControl', 'AP_ExternalControl',
'AP_JSON', 'AP_JSON',
'AP_Beacon',
'AP_Arming',
'AP_RCMapper',
] ]
def get_legacy_defines(sketch_name, bld): def get_legacy_defines(sketch_name, bld):