build: compile only the HAL files needed by the board

Instead of requiring every program to specify the HAL related modules,
let the build system do it (in practice everything we compiled depended
on HAL anyway). This allow including only the necessary files in the
compilation.
This commit is contained in:
Caio Marcelo de Oliveira Filho 2015-10-15 19:09:54 -03:00 committed by Andrew Tridgell
parent 2e464a53c2
commit ec52df991c
85 changed files with 43 additions and 363 deletions

View File

@ -1,6 +1,5 @@
LIBRARIES = AP_Common
LIBRARIES += AP_Progmem
LIBRARIES += AP_HAL
LIBRARIES += AP_Menu
LIBRARIES += AP_Param
LIBRARIES += StorageManager
@ -35,20 +34,12 @@ LIBRARIES += AP_Airspeed
LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += AP_RCMapper
LIBRARIES += SITL
LIBRARIES += AP_Scheduler
LIBRARIES += AP_Navigation
LIBRARIES += APM_Control
LIBRARIES += AP_L1_Control
LIBRARIES += AP_BoardConfig
LIBRARIES += AP_Frsky_Telem
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_VRBRAIN
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_Notify
LIBRARIES += AP_BattMonitor
LIBRARIES += AP_OpticalFlow

View File

@ -1,6 +1,5 @@
LIBRARIES += AP_Common
LIBRARIES += AP_Progmem
LIBRARIES += AP_HAL
LIBRARIES += AP_Param
LIBRARIES += StorageManager
LIBRARIES += AP_GPS
@ -17,7 +16,6 @@ LIBRARIES += GCS_MAVLink
LIBRARIES += AP_SerialManager
LIBRARIES += AP_Declination
LIBRARIES += DataFlash
LIBRARIES += SITL
LIBRARIES += PID
LIBRARIES += AP_Scheduler
LIBRARIES += AP_NavEKF
@ -33,9 +31,3 @@ LIBRARIES += RC_Channel
LIBRARIES += AP_BoardConfig
LIBRARIES += AP_OpticalFlow
LIBRARIES += AP_RangeFinder
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_Empty

View File

@ -3,14 +3,6 @@ LIBRARIES += AP_Progmem
LIBRARIES += AP_Menu
LIBRARIES += AP_Param
LIBRARIES += StorageManager
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_VRBRAIN
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_Empty
LIBRARIES += GCS
LIBRARIES += GCS_MAVLink
LIBRARIES += AP_SerialManager
@ -53,7 +45,6 @@ LIBRARIES += AC_WPNav
LIBRARIES += AC_Circle
LIBRARIES += AP_Declination
LIBRARIES += AC_Fence
LIBRARIES += SITL
LIBRARIES += AP_Scheduler
LIBRARIES += AP_RCMapper
LIBRARIES += AP_Notify

View File

@ -1,4 +1,3 @@
LIBRARIES = AP_HAL
LIBRARIES += AP_Common
LIBRARIES += AP_Progmem
LIBRARIES += AP_Menu
@ -29,7 +28,6 @@ LIBRARIES += AP_SerialManager
LIBRARIES += AP_Mount
LIBRARIES += AP_Declination
LIBRARIES += DataFlash
LIBRARIES += SITL
LIBRARIES += AP_Scheduler
LIBRARIES += AP_Navigation
LIBRARIES += AP_L1_Control
@ -49,11 +47,4 @@ LIBRARIES += AP_ServoRelayEvents
LIBRARIES += AP_Rally
LIBRARIES += AP_OpticalFlow
LIBRARIES += AP_RSSI
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_VRBRAIN
LIBRARIES += AP_RPM

View File

@ -8,11 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -29,5 +24,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -7,11 +7,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Notify
@ -21,7 +16,6 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += AP_NavEKF
LIBRARIES += AP_RangeFinder
LIBRARIES += AP_Mission

View File

@ -3,11 +3,6 @@ LIBRARIES += AP_Progmem
LIBRARIES += AP_Param
LIBRARIES += StorageManager
LIBRARIES += AP_Math
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_ADC
LIBRARIES += AP_Declination
LIBRARIES += AP_ADC_AnalogSource
@ -20,7 +15,6 @@ LIBRARIES += DataFlash
LIBRARIES += GCS_MAVLink
LIBRARIES += AP_GPS
LIBRARIES += AP_AHRS
LIBRARIES += SITL
LIBRARIES += AP_Compass
LIBRARIES += AP_Baro
LIBRARIES += AP_InertialSensor

View File

@ -8,13 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -1,8 +1,5 @@
LIBRARIES += AP_ADC
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -9,12 +9,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -32,5 +26,4 @@ LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += RC_Channel
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -9,10 +9,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -9,13 +9,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -8,11 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -1,9 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -8,13 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_VRBRAIN
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -1,8 +1,6 @@
LIBRARIES += AP_Buffer
LIBRARIES += AP_Common
LIBRARIES += AP_Declination
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -8,11 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -1,9 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -28,5 +22,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -29,5 +23,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -29,5 +23,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -29,5 +23,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -29,5 +23,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -29,5 +23,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -12,8 +12,6 @@ LIBRARIES += AP_Compass
LIBRARIES += AP_Curve
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_InertialNav
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math

View File

@ -10,8 +10,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += APM_Control

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,8 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -2,8 +2,6 @@ LIBRARIES += AP_ADC
LIBRARIES += AP_Baro
LIBRARIES += AP_Buffer
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,9 +1,6 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem
LIBRARIES += StorageManager
LIBRARIES += AP_ADC
LIBRARIES += AP_ADC

View File

@ -8,11 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -28,5 +23,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -8,13 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -28,6 +22,5 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager
LIBRARIES += AP_OpticalFlow

View File

@ -8,11 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -28,5 +23,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -1,7 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,16 +1,9 @@
LIBRARIES += AP_Common
LIBRARIES += AP_Progmem
LIBRARIES += AP_Param
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_Math
LIBRARIES += Filter
LIBRARIES += AP_ADC
LIBRARIES += SITL
LIBRARIES += AP_Compass
LIBRARIES += AP_Baro
LIBRARIES += AP_Notify

View File

@ -10,11 +10,6 @@ LIBRARIES += AP_Compass
LIBRARIES += AP_Curve
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -29,6 +24,5 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager
LIBRARIES += AP_OpticalFlow

View File

@ -9,11 +9,6 @@ LIBRARIES += AP_Compass
LIBRARIES += AP_Curve
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -9,11 +9,6 @@ LIBRARIES += AP_Compass
LIBRARIES += AP_Curve
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -9,8 +9,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -1,9 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_Math
LIBRARIES += AP_Notify
LIBRARIES += AP_Param

View File

@ -8,13 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -8,9 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Notify
LIBRARIES += AP_Parachute

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_PerfMon

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission

View File

@ -9,12 +9,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -30,6 +24,5 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager
LIBRARIES += AP_OpticalFlow

View File

@ -8,12 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -30,5 +24,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,8 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,8 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -1,6 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
LIBRARIES += AP_Param

View File

@ -8,13 +8,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -30,5 +23,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -1,8 +1,4 @@
LIBRARIES += AP_Common
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_Math
LIBRARIES += AP_Param
LIBRARIES += AP_Progmem

View File

@ -7,11 +7,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -28,5 +23,4 @@ LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += RC_Channel
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -7,13 +7,6 @@ LIBRARIES += AP_Common
LIBRARIES += AP_Compass
LIBRARIES += AP_Declination
LIBRARIES += AP_GPS
LIBRARIES += AP_HAL
LIBRARIES += AP_HAL_AVR
LIBRARIES += AP_HAL_Empty
LIBRARIES += AP_HAL_FLYMAPLE
LIBRARIES += AP_HAL_Linux
LIBRARIES += AP_HAL_PX4
LIBRARIES += AP_HAL_SITL
LIBRARIES += AP_InertialSensor
LIBRARIES += AP_Math
LIBRARIES += AP_Mission
@ -29,5 +22,4 @@ LIBRARIES += AP_Vehicle
LIBRARIES += DataFlash
LIBRARIES += Filter
LIBRARIES += GCS_MAVLink
LIBRARIES += SITL
LIBRARIES += StorageManager

View File

@ -21,6 +21,48 @@ SKETCHOBJS := $(addsuffix .o,$(basename $(SKETCHOBJS)))
include $(MAKE_INC)
LIBTOKENS := $(LIBRARIES)
# HAL and board specific libraries are included here.
LIBTOKENS += \
AP_HAL \
AP_HAL_Empty
ifeq ($(HAL_BOARD),HAL_BOARD_APM1)
LIBTOKENS += \
AP_HAL_APM
endif
ifeq ($(HAL_BOARD),HAL_BOARD_APM2)
LIBTOKENS += \
AP_HAL_APM
endif
ifeq ($(HAL_BOARD),HAL_BOARD_SITL)
LIBTOKENS += \
AP_HAL_SITL \
SITL
endif
ifeq ($(HAL_BOARD),HAL_BOARD_LINUX)
LIBTOKENS += \
AP_HAL_Linux
endif
ifeq ($(HAL_BOARD),HAL_BOARD_PX4)
LIBTOKENS += \
AP_HAL_PX4
endif
ifeq ($(HAL_BOARD),HAL_BOARD_VRBRAIN)
LIBTOKENS += \
AP_HAL_VRBRAIN
endif
ifeq ($(HAL_BOARD),HAL_BOARD_FLYMAPLE)
LIBTOKENS += \
AP_HAL_FLYMAPLE
endif
#
# Find sketchbook libraries referenced by the sketch.
#