From 356f5b3e04d499dd8caf7da583c82ee1d40c9bdd Mon Sep 17 00:00:00 2001 From: Simon John Date: Wed, 25 Mar 2015 19:29:21 +0000 Subject: Added ARCHITECTURE to ALTERNATE_CORE_PATH to support 1.5+ cores like arduino-tiny. arduino-tiny and damellis' attiny85 cores don't use a vendor, but they do use the avr architecture (subdirectory) in their 1.5/1.6 branches. arduino-tiny builds and is auto-detected now, still needs some work to support sub-cpu's and clocks. damellis doesn't compile, but that's not our makefile it seems. --- Arduino.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Arduino.mk') diff --git a/Arduino.mk b/Arduino.mk index 8f37089..d4fe5cc 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -475,7 +475,7 @@ ifdef ALTERNATE_CORE $(call show_config_variable,ALTERNATE_CORE,[USER]) ifndef ALTERNATE_CORE_PATH - ALTERNATE_CORE_PATH = $(ARDUINO_SKETCHBOOK)/hardware/$(ALTERNATE_CORE) + ALTERNATE_CORE_PATH = $(ARDUINO_SKETCHBOOK)/hardware/$(ALTERNATE_CORE)/$(ARCHITECTURE) endif endif -- cgit v1.2.3