include Arduino.mk earlier so the functions that were in Common.mk are found
This commit is contained in:
parent
73684a07df
commit
5e84af6de3
1 changed files with 2 additions and 3 deletions
|
@ -28,6 +28,8 @@ ifndef ARDMK_DIR
|
|||
ARDMK_DIR := $(realpath $(dir $(realpath $(lastword $(MAKEFILE_LIST)))))
|
||||
endif
|
||||
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
||||
ifndef MPIDE_DIR
|
||||
AUTO_MPIDE_DIR := $(firstword \
|
||||
$(call dir_if_exists,/usr/share/mpide) \
|
||||
|
@ -52,7 +54,6 @@ ifndef MPIDE_PREFERENCES_PATH
|
|||
endif
|
||||
endif
|
||||
|
||||
|
||||
AVR_TOOLS_DIR = $(ARDUINO_DIR)/hardware/pic32/compiler/pic32-tools
|
||||
|
||||
# The same as in Arduino, the Linux distribution contains avrdude and
|
||||
|
@ -92,5 +93,3 @@ LDFLAGS += -T$(ARDUINO_CORE_PATH)/$(LDSCRIPT)
|
|||
LDFLAGS += -T$(ARDUINO_CORE_PATH)/chipKIT-application-COMMON.ld
|
||||
CPPFLAGS += -mno-smart-io -fno-short-double
|
||||
CFLAGS_STD =
|
||||
|
||||
include $(ARDMK_DIR)/Arduino.mk
|
||||
|
|
Loading…
Reference in a new issue