mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -04:00
build: make flymaple port find libmaple in parent directory
saves some hassle for people following the instructions
This commit is contained in:
parent
c1d56f74b5
commit
3df849b8d1
@ -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…
Reference in New Issue
Block a user