Make all executables overridable

This is helpful for #119 which will add support for colorgcc
This commit is contained in:
Sudar 2013-09-18 16:44:24 +05:30
parent 50e407f8a7
commit 66eec82a3a
2 changed files with 14 additions and 13 deletions

View file

@ -20,6 +20,7 @@ The following is the rough list of changes that went into different versions. I
- Autodetect baudrate only if either a .ino/.pde is present - Autodetect baudrate only if either a .ino/.pde is present
- Allow building with Arduino core, without a .ino/.pde file - Allow building with Arduino core, without a .ino/.pde file
- Ability to support different Arduino cores (https://github.com/sej7278) - Ability to support different Arduino cores (https://github.com/sej7278)
- Add support for colorgcc
### 0.12.0 (2013-06-20) ### 0.12.0 (2013-06-20)
- Fix "generated_assembly" target, which got broken earlier. Fix issue #76 (https://github.com/matthijskooijman) - Fix "generated_assembly" target, which got broken earlier. Fix issue #76 (https://github.com/matthijskooijman)

View file

@ -714,19 +714,19 @@ TARGETS = $(OBJDIR)/$(TARGET).*
CORE_LIB = $(OBJDIR)/libcore.a CORE_LIB = $(OBJDIR)/libcore.a
# Names of executables # Names of executables
CC = $(AVR_TOOLS_PATH)/$(CC_NAME) CC ?= $(AVR_TOOLS_PATH)/$(CC_NAME)
CXX = $(AVR_TOOLS_PATH)/$(CXX_NAME) CXX ?= $(AVR_TOOLS_PATH)/$(CXX_NAME)
AS = $(AVR_TOOLS_PATH)/$(AS_NAME) AS ?= $(AVR_TOOLS_PATH)/$(AS_NAME)
OBJCOPY = $(AVR_TOOLS_PATH)/$(OBJCOPY_NAME) OBJCOPY ?= $(AVR_TOOLS_PATH)/$(OBJCOPY_NAME)
OBJDUMP = $(AVR_TOOLS_PATH)/$(OBJDUMP_NAME) OBJDUMP ?= $(AVR_TOOLS_PATH)/$(OBJDUMP_NAME)
AR = $(AVR_TOOLS_PATH)/$(AR_NAME) AR ?= $(AVR_TOOLS_PATH)/$(AR_NAME)
SIZE = $(AVR_TOOLS_PATH)/$(SIZE_NAME) SIZE ?= $(AVR_TOOLS_PATH)/$(SIZE_NAME)
NM = $(AVR_TOOLS_PATH)/$(NM_NAME) NM ?= $(AVR_TOOLS_PATH)/$(NM_NAME)
REMOVE = rm -rf REMOVE ?= rm -rf
MV = mv -f MV ?= mv -f
CAT = cat CAT ?= cat
ECHO = echo ECHO ?= echo
MKDIR = mkdir -p MKDIR ?= mkdir -p
# General arguments # General arguments
USER_LIBS = $(wildcard $(patsubst %,$(USER_LIB_PATH)/%,$(ARDUINO_LIBS))) USER_LIBS = $(wildcard $(patsubst %,$(USER_LIB_PATH)/%,$(ARDUINO_LIBS)))