build: fixed SITL build on windows

This commit is contained in:
Andrew Tridgell 2013-03-28 13:23:30 +11:00
parent 0ffc7dab6b
commit 4a56b4a145
2 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@ else
include $(MK_DIR)/targets.mk
include $(MK_DIR)/sketch_sources.mk
ifneq ($(MAKECMDGOALS),clean)
# board specific includes
ifeq ($(HAL_BOARD),HAL_BOARD_APM1)
include $(MK_DIR)/board_avr.mk
@ -36,5 +37,6 @@ endif
ifeq ($(HAL_BOARD),HAL_BOARD_PX4)
include $(MK_DIR)/board_px4.mk
endif
endif
endif

View File

@ -47,7 +47,7 @@ else
endif
ifneq ($(findstring CYGWIN, $(SYSTYPE)),)
# Convert cygwin path into a windows normal path
SKETCHBOOK := $(shell cygpath -m ${SKETCHBOOK})
SKETCHBOOK := $(shell cygpath ${SKETCHBOOK})
endif
#