You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
470 B
24 lines
470 B
#!/usr/bin/env python |
|
# encoding: utf-8 |
|
|
|
import boards |
|
|
|
def build(bld): |
|
if not isinstance(bld.get_board(), boards.linux): |
|
return |
|
|
|
vehicle = bld.path.name |
|
|
|
bld.ap_stlib( |
|
name=vehicle + '_libs', |
|
ap_vehicle=vehicle, |
|
ap_libraries=bld.ap_common_vehicle_libraries() + [ |
|
'AP_InertialNav', |
|
'AP_Beacon', |
|
], |
|
) |
|
|
|
bld.ap_program( |
|
program_groups='tools', |
|
use=vehicle + '_libs', |
|
)
|
|
|