2020-11-05 19:39:55 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
bld.ap_stlib(
|
|
|
|
name='AP_DAL' + '_libs',
|
|
|
|
ap_vehicle='AP_DAL_Standalone',
|
|
|
|
ap_libraries=[
|
|
|
|
'AP_NavEKF2',
|
|
|
|
'AP_NavEKF3',
|
|
|
|
'AP_NavEKF',
|
|
|
|
'AP_Common',
|
|
|
|
'AP_Math',
|
|
|
|
'AP_DAL',
|
|
|
|
'AP_InternalError',
|
|
|
|
'AP_Declination',
|
|
|
|
'AP_RTC',
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
2020-11-07 17:12:56 -04:00
|
|
|
# only valid to build with no GCS and no scripting
|
2021-08-18 08:42:16 -03:00
|
|
|
if '-DHAL_GCS_ENABLED=0' in bld.env.CXXFLAGS and 'ENABLE_SCRIPTING=1' not in bld.env.DEFINES:
|
2020-11-07 17:12:56 -04:00
|
|
|
bld.ap_program(
|
2021-07-05 06:38:41 -03:00
|
|
|
program_groups=['tool'],
|
2020-11-07 17:12:56 -04:00
|
|
|
use='AP_DAL_libs',
|
|
|
|
)
|