mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Arduino.mk: use target variables rather than recursive make for apm1, apm2..
This commit is contained in:
parent
76dabef7d6
commit
8fe3c5e5d6
@ -457,14 +457,17 @@ endif
|
|||||||
all: $(SKETCHELF) $(SKETCHEEP) $(SKETCHHEX)
|
all: $(SKETCHELF) $(SKETCHEEP) $(SKETCHHEX)
|
||||||
|
|
||||||
# convenient targets for our supported boards
|
# convenient targets for our supported boards
|
||||||
sitl:
|
sitl: HAL_BOARD = "HAL_BOARD_AVR_SITL"
|
||||||
make -f Makefile HAL_BOARD=HAL_BOARD_AVR_SITL
|
sitl: all
|
||||||
|
|
||||||
apm1:
|
apm1: HAL_BOARD = "HAL_BOARD_APM1"
|
||||||
make -f Makefile HAL_BOARD=HAL_BOARD_APM1
|
apm1: all
|
||||||
|
|
||||||
apm2:
|
apm2: HAL_BOARD = "HAL_BOARD_APM2"
|
||||||
make -f Makefile HAL_BOARD=HAL_BOARD_APM2
|
apm2: all
|
||||||
|
|
||||||
|
emptyhal: HAL_BOARD = "HAL_BOARD_EMPTY"
|
||||||
|
emptyhal: all
|
||||||
|
|
||||||
.PHONY: upload
|
.PHONY: upload
|
||||||
upload: $(SKETCHHEX)
|
upload: $(SKETCHHEX)
|
||||||
|
Loading…
Reference in New Issue
Block a user