From 5241c66b579627ecd35c377b3b27be5767607719 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 10 May 2015 21:01:30 +1000 Subject: [PATCH] build: added SKETCHBOOK to defines for native build used by SITL to find JSBSim aircraft --- mk/board_native.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/board_native.mk b/mk/board_native.mk index 16e580a871..453e0f173a 100644 --- a/mk/board_native.mk +++ b/mk/board_native.mk @@ -6,7 +6,7 @@ include $(MK_DIR)/find_tools.mk # Tool options # DEFINES = -DF_CPU=$(F_CPU) -DEFINES += -DSKETCH=\"$(SKETCH)\" -DSKETCHNAME="\"$(SKETCH)\"" -DAPM_BUILD_DIRECTORY=APM_BUILD_$(SKETCH) +DEFINES += -DSKETCH=\"$(SKETCH)\" -DSKETCHNAME="\"$(SKETCH)\"" -DSKETCHBOOK="\"$(SKETCHBOOK)\"" -DAPM_BUILD_DIRECTORY=APM_BUILD_$(SKETCH) DEFINES += $(EXTRAFLAGS) # from user config.mk DEFINES += -DCONFIG_HAL_BOARD=$(HAL_BOARD) -DCONFIG_HAL_BOARD_SUBTYPE=$(HAL_BOARD_SUBTYPE) WARNFLAGS = -Wformat -Wall -Wshadow -Wpointer-arith -Wcast-align -Wno-unused-parameter -Wno-missing-field-initializers