Revert "Arduino.mk: use target variables rather than recursive make for apm1, apm2.."

This reverts commit fcd58cc1d7892bb8b45db75c35e1bdccaa2d47bb.

still doesn't work ...
This commit is contained in:
Andrew Tridgell 2012-12-18 13:40:25 +11:00
parent 08b1c2d590
commit 475496cee2
1 changed files with 6 additions and 9 deletions

View File

@ -457,17 +457,14 @@ endif
all: $(SKETCHELF) $(SKETCHEEP) $(SKETCHHEX)
# convenient targets for our supported boards
sitl: HAL_BOARD = "HAL_BOARD_AVR_SITL"
sitl: all
sitl:
make -f Makefile HAL_BOARD=HAL_BOARD_AVR_SITL
apm1: HAL_BOARD = "HAL_BOARD_APM1"
apm1: all
apm1:
make -f Makefile HAL_BOARD=HAL_BOARD_APM1
apm2: HAL_BOARD = "HAL_BOARD_APM2"
apm2: all
emptyhal: HAL_BOARD = "HAL_BOARD_EMPTY"
emptyhal: all
apm2:
make -f Makefile HAL_BOARD=HAL_BOARD_APM2
.PHONY: upload
upload: $(SKETCHHEX)