stm32/Makefile: Allow to override CROSS_COMPILE with included Makefile.
This commit is contained in:
parent
1a608ce1e8
commit
6947dff7da
|
@ -42,7 +42,8 @@ OPENOCD ?= openocd
|
||||||
OPENOCD_CONFIG ?= boards/openocd_stm32f4.cfg
|
OPENOCD_CONFIG ?= boards/openocd_stm32f4.cfg
|
||||||
STARTUP_FILE ?= boards/startup_stm32$(MCU_SERIES).o
|
STARTUP_FILE ?= boards/startup_stm32$(MCU_SERIES).o
|
||||||
|
|
||||||
CROSS_COMPILE = arm-none-eabi-
|
# Select the cross compile prefix
|
||||||
|
CROSS_COMPILE ?= arm-none-eabi-
|
||||||
|
|
||||||
INC += -I.
|
INC += -I.
|
||||||
INC += -I$(TOP)
|
INC += -I$(TOP)
|
||||||
|
|
Loading…
Reference in New Issue