Browse Source

build: make flymaple port find libmaple in parent directory

saves some hassle for people following the instructions
master
Andrew Tridgell 12 years ago
parent
commit
3df849b8d1
  1. 10
      mk/board_flymaple.mk

10
mk/board_flymaple.mk

@ -2,6 +2,16 @@ @@ -2,6 +2,16 @@
#
# Build ArduPlane for Flymaple http://www.open-drone.org/flymaple
# cope with relative paths
ifeq ($(wildcard $(LIBMAPLE_PATH)/wirish),)
LIBMAPLE_PATH := $(shell cd $(SKETCHBOOK)/../libmaple && pwd)
endif
ifeq ($(wildcard $(LIBMAPLE_PATH)/wirish),)
$(error ERROR: failed to find libmaple - please see libraries/AP_HAL_FLYMAPLE/FlymaplePortingNotes.txt)
endif
TOOLCHAIN = ARM
#include $(MK_DIR)/find_arduino.mk

Loading…
Cancel
Save