Adds the toolchain dir to a variable
This commit is contained in:
parent
06ebb82a70
commit
1666b1be96
12
Makefile
12
Makefile
|
@ -54,11 +54,13 @@ ASM_SOURCES = \
|
|||
#######################################
|
||||
# binaries
|
||||
#######################################
|
||||
CC = arm-none-eabi-gcc
|
||||
AS = arm-none-eabi-gcc -x assembler-with-cpp
|
||||
CP = arm-none-eabi-objcopy
|
||||
AR = arm-none-eabi-ar
|
||||
SZ = arm-none-eabi-size
|
||||
|
||||
TOOLCHAIN=/mnt/wd/toolchain/gcc-arm-none-eabi-6-2017-q1-update/install-native/bin
|
||||
CC = ${TOOLCHAIN}/arm-none-eabi-gcc
|
||||
AS = ${TOOLCHAIN}/arm-none-eabi-gcc -x assembler-with-cpp
|
||||
CP = ${TOOLCHAIN}/arm-none-eabi-objcopy
|
||||
AR = ${TOOLCHAIN}/arm-none-eabi-ar
|
||||
SZ = ${TOOLCHAIN}/arm-none-eabi-size
|
||||
HEX = $(CP) -O ihex
|
||||
BIN = $(CP) -O binary -S
|
||||
|
||||
|
|
Loading…
Reference in New Issue