build: fixed eclipse build on Windows for PX4

This commit is contained in:
Andrew Tridgell 2013-02-21 21:03:55 +11:00
parent ded192be3f
commit a77b5e9954

View File

@ -6,7 +6,8 @@ ifneq ($(PX4_ROOT),)
HAL_PX4_DIR = $(realpath $(MK_DIR)/../libraries/AP_HAL_PX4)
PX4_EXTERNAL_SCRIPTS = $(HAL_PX4_DIR)/scripts/rc.APM~init.d/rc.APM
PX4_EXTERNAL = EXTERNAL_APPS=$(PWD) EXTERNAL_SCRIPTS=$(PX4_EXTERNAL_SCRIPTS)
# we use CURDIR instead of PWD to avoid a problem with MINGW32 on Windows
PX4_EXTERNAL = EXTERNAL_APPS=$(CURDIR) EXTERNAL_SCRIPTS=$(PX4_EXTERNAL_SCRIPTS)
PX4_MAKE = make -C $(PX4_ROOT) $(PX4_EXTERNAL) CONFIG_APM=y