23 lines
758 B
Makefile
23 lines
758 B
Makefile
# common/mk/linaro-gcc-arm-none-eabi-5_2-2015q4.mk
|
|
export PATH:=/data/tools/toolchains/linaro-gcc-arm-none-eabi-5_2-2015q4/bin:$(PATH)
|
|
|
|
export CROSS_COMPILE := arm-none-eabi-
|
|
|
|
export CC := $(CROSS_COMPILE)gcc
|
|
export CXX := $(CROSS_COMPILE)g++
|
|
export LD := $(CROSS_COMPILE)gcc
|
|
export AR := $(CROSS_COMPILE)ar
|
|
export AS := $(CROSS_COMPILE)gcc -x assembler-with-cpp
|
|
export OBJCOPY := $(CROSS_COMPILE)objcopy
|
|
export OBJDUMP := $(CROSS_COMPILE)objdump
|
|
export GDB := $(CROSS_COMPILE)gdb
|
|
export SIZE := $(CROSS_COMPILE)size
|
|
|
|
# ChibiOS Makefile compat
|
|
export CPPC := $(CROSS_COMPILE)g++
|
|
export CP := $(CROSS_COMPILE)objcopy
|
|
export OD := $(CROSS_COMPILE)objdump
|
|
export SZ := $(CROSS_COMPILE)size
|
|
export HEX := $(CP) -O ihex
|
|
export BIN := $(CP) -O binary
|