From 63006793439b30f29a96cae41341276413aaf246 Mon Sep 17 00:00:00 2001 From: Sudar Date: Thu, 19 Sep 2013 16:20:30 +0530 Subject: [PATCH] Revert "Make all executables overridable" If these executables are not overridden in the child makefile, then the default values are not set properly in the master makefile. This complicates the solution for #119 :( This reverts commit 66eec82a3af8ee5aa16e28230346e4a1f166da2b. --- HISTORY.md | 1 - arduino-mk/Arduino.mk | 26 +++++++++++++------------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 84a2131..64bebaf 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -20,7 +20,6 @@ The following is the rough list of changes that went into different versions. I - Autodetect baudrate only if either a .ino/.pde is present - Allow building with Arduino core, without a .ino/.pde file - Ability to support different Arduino cores (https://github.com/sej7278) -- Add support for colorgcc ### 0.12.0 (2013-06-20) - Fix "generated_assembly" target, which got broken earlier. Fix issue #76 (https://github.com/matthijskooijman) diff --git a/arduino-mk/Arduino.mk b/arduino-mk/Arduino.mk index f6c1ecf..ed95207 100644 --- a/arduino-mk/Arduino.mk +++ b/arduino-mk/Arduino.mk @@ -714,19 +714,19 @@ TARGETS = $(OBJDIR)/$(TARGET).* CORE_LIB = $(OBJDIR)/libcore.a # Names of executables -CC ?= $(AVR_TOOLS_PATH)/$(CC_NAME) -CXX ?= $(AVR_TOOLS_PATH)/$(CXX_NAME) -AS ?= $(AVR_TOOLS_PATH)/$(AS_NAME) -OBJCOPY ?= $(AVR_TOOLS_PATH)/$(OBJCOPY_NAME) -OBJDUMP ?= $(AVR_TOOLS_PATH)/$(OBJDUMP_NAME) -AR ?= $(AVR_TOOLS_PATH)/$(AR_NAME) -SIZE ?= $(AVR_TOOLS_PATH)/$(SIZE_NAME) -NM ?= $(AVR_TOOLS_PATH)/$(NM_NAME) -REMOVE ?= rm -rf -MV ?= mv -f -CAT ?= cat -ECHO ?= echo -MKDIR ?= mkdir -p +CC = $(AVR_TOOLS_PATH)/$(CC_NAME) +CXX = $(AVR_TOOLS_PATH)/$(CXX_NAME) +AS = $(AVR_TOOLS_PATH)/$(AS_NAME) +OBJCOPY = $(AVR_TOOLS_PATH)/$(OBJCOPY_NAME) +OBJDUMP = $(AVR_TOOLS_PATH)/$(OBJDUMP_NAME) +AR = $(AVR_TOOLS_PATH)/$(AR_NAME) +SIZE = $(AVR_TOOLS_PATH)/$(SIZE_NAME) +NM = $(AVR_TOOLS_PATH)/$(NM_NAME) +REMOVE = rm -rf +MV = mv -f +CAT = cat +ECHO = echo +MKDIR = mkdir -p # General arguments USER_LIBS = $(wildcard $(patsubst %,$(USER_LIB_PATH)/%,$(ARDUINO_LIBS)))