stm32/Makefile: Allow to override CROSS_COMPILE with included Makefile.

This commit is contained in:
Boris Vinogradov 2019-03-28 10:02:57 +03:00 committed by Damien George
parent 1a608ce1e8
commit 6947dff7da
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ OPENOCD ?= openocd
OPENOCD_CONFIG ?= boards/openocd_stm32f4.cfg
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$(TOP)