From 374af1cd1464deaabbdd2c586f27a8c27c976fcc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 2 Jan 2013 17:29:37 +1100 Subject: [PATCH] build: change from Arduino.mk to apm.mk --- APMrover2/Makefile | 2 +- ArduCopter/Makefile | 2 +- Tools/APM_radio_test/Makefile | 2 +- Tools/CPUInfo/Makefile | 2 +- Tools/Failsafe/Makefile | 2 +- Tools/Hello/Makefile | 2 +- Tools/VARTest/Makefile | 2 +- libraries/AC_PID/examples/AC_PID_test/Makefile | 2 +- libraries/APM_OBC/Failsafe_Board/Makefile | 2 +- libraries/APM_OBC/examples/trivial_APM_OBC/Makefile | 2 +- libraries/AP_ADC/examples/AP_ADC_test/Makefile | 2 +- libraries/AP_AHRS/examples/AHRS_Test/Makefile | 2 +- libraries/AP_Airspeed/examples/Airspeed/Makefile | 2 +- libraries/AP_Baro/examples/AP_Baro_BMP085_test/Makefile | 2 +- libraries/AP_Baro/examples/AP_Baro_MS5611_test/Makefile | 2 +- libraries/AP_Compass/examples/AP_Compass_test/Makefile | 2 +- libraries/AP_Declination/examples/AP_Declination_test/Makefile | 2 +- libraries/AP_GPS/examples/GPS_406_test/Makefile | 2 +- libraries/AP_GPS/examples/GPS_AUTO_test/Makefile | 2 +- libraries/AP_GPS/examples/GPS_MTK_test/Makefile | 2 +- libraries/AP_GPS/examples/GPS_NMEA_test/Makefile | 2 +- libraries/AP_GPS/examples/GPS_UBLOX_test/Makefile | 2 +- libraries/AP_HAL_AVR/examples/AnalogIn/Makefile | 2 +- libraries/AP_HAL_AVR/examples/ArduCopterLibs/Makefile | 2 +- libraries/AP_HAL_AVR/examples/ArduPlaneLibs/Makefile | 2 +- libraries/AP_HAL_AVR/examples/Blink/Makefile | 2 +- libraries/AP_HAL_AVR/examples/Console/Makefile | 2 +- libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/Makefile | 2 +- libraries/AP_HAL_AVR/examples/LCDTest/Makefile | 2 +- libraries/AP_HAL_AVR/examples/RCInputTest/Makefile | 2 +- libraries/AP_HAL_AVR/examples/RCPassthroughTest/Makefile | 2 +- libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/Makefile | 2 +- libraries/AP_HAL_AVR/examples/Scheduler/Makefile | 2 +- libraries/AP_HAL_AVR/examples/Storage/Makefile | 2 +- libraries/AP_HAL_AVR/examples/UARTDriver/Makefile | 2 +- libraries/AP_HAL_AVR/examples/UtilityStringTest/Makefile | 2 +- libraries/AP_HAL_Empty/examples/empty_example/Makefile | 2 +- libraries/AP_HAL_PX4/examples/simple/Makefile | 2 +- libraries/AP_InertialNav/examples/AP_InertialNav_test/Makefile | 2 +- libraries/AP_InertialSensor/examples/MPU6000/Makefile | 2 +- libraries/AP_LeadFilter/examples/AP_LeadFilter/Makefile | 2 +- libraries/AP_Math/examples/eulers/Makefile | 2 +- libraries/AP_Math/examples/location/Makefile | 2 +- libraries/AP_Math/examples/polygon/Makefile | 2 +- libraries/AP_Math/examples/rotations/Makefile | 2 +- libraries/AP_Menu/examples/menu/Makefile | 2 +- libraries/AP_Motors/examples/AP_Motors_test/Makefile | 2 +- libraries/AP_Mount/examples/trivial_AP_Mount/Makefile | 2 +- libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/Makefile | 2 +- libraries/AP_RangeFinder/examples/MaxsonarXL_test/Makefile | 2 +- libraries/DataFlash/examples/DataFlash_test/Makefile | 2 +- libraries/Filter/examples/Derivative/Makefile | 2 +- libraries/Filter/examples/Filter/Makefile | 2 +- libraries/Filter/examples/LowPassFilter/Makefile | 2 +- libraries/GCS_Console/examples/Console/Makefile | 2 +- libraries/PID/examples/pid/Makefile | 2 +- libraries/RC_Channel/examples/RC_Channel/Makefile | 2 +- 57 files changed, 57 insertions(+), 57 deletions(-) diff --git a/APMrover2/Makefile b/APMrover2/Makefile index 2502d3615f..4fbc591ced 100644 --- a/APMrover2/Makefile +++ b/APMrover2/Makefile @@ -1,2 +1,2 @@ -include ../mk/Arduino.mk +include ../mk/apm.mk include ../mk/targets.mk diff --git a/ArduCopter/Makefile b/ArduCopter/Makefile index 844956f095..92a6d7acd6 100644 --- a/ArduCopter/Makefile +++ b/ArduCopter/Makefile @@ -1,3 +1,3 @@ -include ../mk/Arduino.mk +include ../mk/apm.mk include ../mk/targets.mk diff --git a/Tools/APM_radio_test/Makefile b/Tools/APM_radio_test/Makefile index 7eccc1d6f8..3959a1654b 100644 --- a/Tools/APM_radio_test/Makefile +++ b/Tools/APM_radio_test/Makefile @@ -1 +1 @@ -include ../../mk/Arduino.mk +include ../../mk/apm.mk diff --git a/Tools/CPUInfo/Makefile b/Tools/CPUInfo/Makefile index 023a24117a..eb4da6c4e6 100644 --- a/Tools/CPUInfo/Makefile +++ b/Tools/CPUInfo/Makefile @@ -1,4 +1,4 @@ # # Trivial makefile for building APM # -include ../../mk/Arduino.mk +include ../../mk/apm.mk diff --git a/Tools/Failsafe/Makefile b/Tools/Failsafe/Makefile index 2c51f5e9be..f313a86e3d 100644 --- a/Tools/Failsafe/Makefile +++ b/Tools/Failsafe/Makefile @@ -1,5 +1,5 @@ # # Trivial makefile for building APM # -include ../../mk/Arduino.mk +include ../../mk/apm.mk diff --git a/Tools/Hello/Makefile b/Tools/Hello/Makefile index 023a24117a..eb4da6c4e6 100644 --- a/Tools/Hello/Makefile +++ b/Tools/Hello/Makefile @@ -1,4 +1,4 @@ # # Trivial makefile for building APM # -include ../../mk/Arduino.mk +include ../../mk/apm.mk diff --git a/Tools/VARTest/Makefile b/Tools/VARTest/Makefile index 023a24117a..eb4da6c4e6 100644 --- a/Tools/VARTest/Makefile +++ b/Tools/VARTest/Makefile @@ -1,4 +1,4 @@ # # Trivial makefile for building APM # -include ../../mk/Arduino.mk +include ../../mk/apm.mk diff --git a/libraries/AC_PID/examples/AC_PID_test/Makefile b/libraries/AC_PID/examples/AC_PID_test/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AC_PID/examples/AC_PID_test/Makefile +++ b/libraries/AC_PID/examples/AC_PID_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/APM_OBC/Failsafe_Board/Makefile b/libraries/APM_OBC/Failsafe_Board/Makefile index 55921928b0..8bf31e7de3 100644 --- a/libraries/APM_OBC/Failsafe_Board/Makefile +++ b/libraries/APM_OBC/Failsafe_Board/Makefile @@ -2,5 +2,5 @@ # Trivial makefile for building APM # BOARD=uno -include ../../../libraries/../mk/Arduino.mk +include ../../../libraries/../mk/apm.mk diff --git a/libraries/APM_OBC/examples/trivial_APM_OBC/Makefile b/libraries/APM_OBC/examples/trivial_APM_OBC/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/APM_OBC/examples/trivial_APM_OBC/Makefile +++ b/libraries/APM_OBC/examples/trivial_APM_OBC/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_ADC/examples/AP_ADC_test/Makefile b/libraries/AP_ADC/examples/AP_ADC_test/Makefile index e76d4e3d7b..212822b4be 100644 --- a/libraries/AP_ADC/examples/AP_ADC_test/Makefile +++ b/libraries/AP_ADC/examples/AP_ADC_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega2560 -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_AHRS/examples/AHRS_Test/Makefile b/libraries/AP_AHRS/examples/AHRS_Test/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_AHRS/examples/AHRS_Test/Makefile +++ b/libraries/AP_AHRS/examples/AHRS_Test/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_Airspeed/examples/Airspeed/Makefile b/libraries/AP_Airspeed/examples/Airspeed/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_Airspeed/examples/Airspeed/Makefile +++ b/libraries/AP_Airspeed/examples/Airspeed/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_Baro/examples/AP_Baro_BMP085_test/Makefile b/libraries/AP_Baro/examples/AP_Baro_BMP085_test/Makefile index 58dcebb211..5ca8fc2ae2 100644 --- a/libraries/AP_Baro/examples/AP_Baro_BMP085_test/Makefile +++ b/libraries/AP_Baro/examples/AP_Baro_BMP085_test/Makefile @@ -1,5 +1,5 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk apm2: make -f Makefile EXTRAFLAGS="-DAPM2_HARDWARE=1" diff --git a/libraries/AP_Baro/examples/AP_Baro_MS5611_test/Makefile b/libraries/AP_Baro/examples/AP_Baro_MS5611_test/Makefile index e76d4e3d7b..212822b4be 100644 --- a/libraries/AP_Baro/examples/AP_Baro_MS5611_test/Makefile +++ b/libraries/AP_Baro/examples/AP_Baro_MS5611_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega2560 -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_Compass/examples/AP_Compass_test/Makefile b/libraries/AP_Compass/examples/AP_Compass_test/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_Compass/examples/AP_Compass_test/Makefile +++ b/libraries/AP_Compass/examples/AP_Compass_test/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_Declination/examples/AP_Declination_test/Makefile b/libraries/AP_Declination/examples/AP_Declination_test/Makefile index 0ea05fd5c2..9cc8742e84 100644 --- a/libraries/AP_Declination/examples/AP_Declination_test/Makefile +++ b/libraries/AP_Declination/examples/AP_Declination_test/Makefile @@ -1,4 +1,4 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk sitl: make -f ../../../../libraries/Desktop/Desktop.mk diff --git a/libraries/AP_GPS/examples/GPS_406_test/Makefile b/libraries/AP_GPS/examples/GPS_406_test/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_GPS/examples/GPS_406_test/Makefile +++ b/libraries/AP_GPS/examples/GPS_406_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_GPS/examples/GPS_AUTO_test/Makefile b/libraries/AP_GPS/examples/GPS_AUTO_test/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_GPS/examples/GPS_AUTO_test/Makefile +++ b/libraries/AP_GPS/examples/GPS_AUTO_test/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_GPS/examples/GPS_MTK_test/Makefile b/libraries/AP_GPS/examples/GPS_MTK_test/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_GPS/examples/GPS_MTK_test/Makefile +++ b/libraries/AP_GPS/examples/GPS_MTK_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_GPS/examples/GPS_NMEA_test/Makefile b/libraries/AP_GPS/examples/GPS_NMEA_test/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_GPS/examples/GPS_NMEA_test/Makefile +++ b/libraries/AP_GPS/examples/GPS_NMEA_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_GPS/examples/GPS_UBLOX_test/Makefile b/libraries/AP_GPS/examples/GPS_UBLOX_test/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_GPS/examples/GPS_UBLOX_test/Makefile +++ b/libraries/AP_GPS/examples/GPS_UBLOX_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/AnalogIn/Makefile b/libraries/AP_HAL_AVR/examples/AnalogIn/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/AnalogIn/Makefile +++ b/libraries/AP_HAL_AVR/examples/AnalogIn/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/ArduCopterLibs/Makefile b/libraries/AP_HAL_AVR/examples/ArduCopterLibs/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_HAL_AVR/examples/ArduCopterLibs/Makefile +++ b/libraries/AP_HAL_AVR/examples/ArduCopterLibs/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/Makefile b/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/Makefile +++ b/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/Blink/Makefile b/libraries/AP_HAL_AVR/examples/Blink/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/Blink/Makefile +++ b/libraries/AP_HAL_AVR/examples/Blink/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/Console/Makefile b/libraries/AP_HAL_AVR/examples/Console/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_HAL_AVR/examples/Console/Makefile +++ b/libraries/AP_HAL_AVR/examples/Console/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/Makefile b/libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/Makefile +++ b/libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/LCDTest/Makefile b/libraries/AP_HAL_AVR/examples/LCDTest/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/LCDTest/Makefile +++ b/libraries/AP_HAL_AVR/examples/LCDTest/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/RCInputTest/Makefile b/libraries/AP_HAL_AVR/examples/RCInputTest/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/RCInputTest/Makefile +++ b/libraries/AP_HAL_AVR/examples/RCInputTest/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/RCPassthroughTest/Makefile b/libraries/AP_HAL_AVR/examples/RCPassthroughTest/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/RCPassthroughTest/Makefile +++ b/libraries/AP_HAL_AVR/examples/RCPassthroughTest/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/Makefile b/libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/Makefile +++ b/libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/Scheduler/Makefile b/libraries/AP_HAL_AVR/examples/Scheduler/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/Scheduler/Makefile +++ b/libraries/AP_HAL_AVR/examples/Scheduler/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/Storage/Makefile b/libraries/AP_HAL_AVR/examples/Storage/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_AVR/examples/Storage/Makefile +++ b/libraries/AP_HAL_AVR/examples/Storage/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/UARTDriver/Makefile b/libraries/AP_HAL_AVR/examples/UARTDriver/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_HAL_AVR/examples/UARTDriver/Makefile +++ b/libraries/AP_HAL_AVR/examples/UARTDriver/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_AVR/examples/UtilityStringTest/Makefile b/libraries/AP_HAL_AVR/examples/UtilityStringTest/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_HAL_AVR/examples/UtilityStringTest/Makefile +++ b/libraries/AP_HAL_AVR/examples/UtilityStringTest/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_Empty/examples/empty_example/Makefile b/libraries/AP_HAL_Empty/examples/empty_example/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_Empty/examples/empty_example/Makefile +++ b/libraries/AP_HAL_Empty/examples/empty_example/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_HAL_PX4/examples/simple/Makefile b/libraries/AP_HAL_PX4/examples/simple/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_HAL_PX4/examples/simple/Makefile +++ b/libraries/AP_HAL_PX4/examples/simple/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_InertialNav/examples/AP_InertialNav_test/Makefile b/libraries/AP_InertialNav/examples/AP_InertialNav_test/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_InertialNav/examples/AP_InertialNav_test/Makefile +++ b/libraries/AP_InertialNav/examples/AP_InertialNav_test/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_InertialSensor/examples/MPU6000/Makefile b/libraries/AP_InertialSensor/examples/MPU6000/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_InertialSensor/examples/MPU6000/Makefile +++ b/libraries/AP_InertialSensor/examples/MPU6000/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_LeadFilter/examples/AP_LeadFilter/Makefile b/libraries/AP_LeadFilter/examples/AP_LeadFilter/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_LeadFilter/examples/AP_LeadFilter/Makefile +++ b/libraries/AP_LeadFilter/examples/AP_LeadFilter/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_Math/examples/eulers/Makefile b/libraries/AP_Math/examples/eulers/Makefile index 0ea05fd5c2..9cc8742e84 100644 --- a/libraries/AP_Math/examples/eulers/Makefile +++ b/libraries/AP_Math/examples/eulers/Makefile @@ -1,4 +1,4 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk sitl: make -f ../../../../libraries/Desktop/Desktop.mk diff --git a/libraries/AP_Math/examples/location/Makefile b/libraries/AP_Math/examples/location/Makefile index 0ea05fd5c2..9cc8742e84 100644 --- a/libraries/AP_Math/examples/location/Makefile +++ b/libraries/AP_Math/examples/location/Makefile @@ -1,4 +1,4 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk sitl: make -f ../../../../libraries/Desktop/Desktop.mk diff --git a/libraries/AP_Math/examples/polygon/Makefile b/libraries/AP_Math/examples/polygon/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_Math/examples/polygon/Makefile +++ b/libraries/AP_Math/examples/polygon/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_Math/examples/rotations/Makefile b/libraries/AP_Math/examples/rotations/Makefile index 0ea05fd5c2..9cc8742e84 100644 --- a/libraries/AP_Math/examples/rotations/Makefile +++ b/libraries/AP_Math/examples/rotations/Makefile @@ -1,4 +1,4 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk sitl: make -f ../../../../libraries/Desktop/Desktop.mk diff --git a/libraries/AP_Menu/examples/menu/Makefile b/libraries/AP_Menu/examples/menu/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_Menu/examples/menu/Makefile +++ b/libraries/AP_Menu/examples/menu/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_Motors/examples/AP_Motors_test/Makefile b/libraries/AP_Motors/examples/AP_Motors_test/Makefile index 58dcebb211..5ca8fc2ae2 100644 --- a/libraries/AP_Motors/examples/AP_Motors_test/Makefile +++ b/libraries/AP_Motors/examples/AP_Motors_test/Makefile @@ -1,5 +1,5 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk apm2: make -f Makefile EXTRAFLAGS="-DAPM2_HARDWARE=1" diff --git a/libraries/AP_Mount/examples/trivial_AP_Mount/Makefile b/libraries/AP_Mount/examples/trivial_AP_Mount/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/AP_Mount/examples/trivial_AP_Mount/Makefile +++ b/libraries/AP_Mount/examples/trivial_AP_Mount/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/Makefile b/libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/Makefile index e76d4e3d7b..212822b4be 100644 --- a/libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/Makefile +++ b/libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega2560 -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/AP_RangeFinder/examples/MaxsonarXL_test/Makefile b/libraries/AP_RangeFinder/examples/MaxsonarXL_test/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/AP_RangeFinder/examples/MaxsonarXL_test/Makefile +++ b/libraries/AP_RangeFinder/examples/MaxsonarXL_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/DataFlash/examples/DataFlash_test/Makefile b/libraries/DataFlash/examples/DataFlash_test/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/DataFlash/examples/DataFlash_test/Makefile +++ b/libraries/DataFlash/examples/DataFlash_test/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/Filter/examples/Derivative/Makefile b/libraries/Filter/examples/Derivative/Makefile index 0ea05fd5c2..9cc8742e84 100644 --- a/libraries/Filter/examples/Derivative/Makefile +++ b/libraries/Filter/examples/Derivative/Makefile @@ -1,4 +1,4 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk sitl: make -f ../../../../libraries/Desktop/Desktop.mk diff --git a/libraries/Filter/examples/Filter/Makefile b/libraries/Filter/examples/Filter/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/Filter/examples/Filter/Makefile +++ b/libraries/Filter/examples/Filter/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/Filter/examples/LowPassFilter/Makefile b/libraries/Filter/examples/LowPassFilter/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/Filter/examples/LowPassFilter/Makefile +++ b/libraries/Filter/examples/LowPassFilter/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/GCS_Console/examples/Console/Makefile b/libraries/GCS_Console/examples/Console/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/GCS_Console/examples/Console/Makefile +++ b/libraries/GCS_Console/examples/Console/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/PID/examples/pid/Makefile b/libraries/PID/examples/pid/Makefile index 1f4121d435..f5daf25151 100644 --- a/libraries/PID/examples/pid/Makefile +++ b/libraries/PID/examples/pid/Makefile @@ -1 +1 @@ -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk diff --git a/libraries/RC_Channel/examples/RC_Channel/Makefile b/libraries/RC_Channel/examples/RC_Channel/Makefile index bc40321033..87e4482ca3 100644 --- a/libraries/RC_Channel/examples/RC_Channel/Makefile +++ b/libraries/RC_Channel/examples/RC_Channel/Makefile @@ -1,2 +1,2 @@ BOARD = mega -include ../../../../mk/Arduino.mk +include ../../../../mk/apm.mk