diff options
author | Boris Vinogradov <no111u3@gmail.com> | 2019-03-28 10:02:57 +0300 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-03-29 11:34:05 +1100 |
commit | 6947dff7dacc513efa2dbe4392c31ecb07ec50db (patch) | |
tree | 9c6565b4a8d065359044efe4144f1e6c5aa9367d | |
parent | 1a608ce1e892745fbe740e8dcc41c7871bf3dec3 (diff) |
stm32/Makefile: Allow to override CROSS_COMPILE with included Makefile.
-rw-r--r-- | ports/stm32/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/stm32/Makefile b/ports/stm32/Makefile index d0b90c761..40560b842 100644 --- a/ports/stm32/Makefile +++ b/ports/stm32/Makefile @@ -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) |