diff options
| author | Damien George | 2017-06-28 15:44:29 +1000 |
|---|---|---|
| committer | Damien George | 2017-06-28 15:44:29 +1000 |
| commit | 05a08506ae38453af7f41752b1f7e245a7badacb (patch) | |
| tree | 3a6eac2805b65825c9646d7fda812a9797e77098 | |
| parent | 703370ebc5419af918754a402f4b0122c3e0a3c0 (diff) | |
stmhal/Makefile: Add CFLAGS_EXTRA to CFLAGS so cmdline can add options.
| -rw-r--r-- | stmhal/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile index 78de62ff1..ae1db2ae9 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -63,7 +63,7 @@ CFLAGS_MCU_f4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 -DMCU_SERIES CFLAGS_MCU_f7 = $(CFLAGS_CORTEX_M) -mtune=cortex-m7 -mcpu=cortex-m7 -DMCU_SERIES_F7 CFLAGS_MCU_l4 = $(CFLAGS_CORTEX_M) -mtune=cortex-m4 -mcpu=cortex-m4 -DMCU_SERIES_L4 -CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -std=gnu99 -nostdlib $(CFLAGS_MOD) +CFLAGS = $(INC) -Wall -Wpointer-arith -Werror -std=gnu99 -nostdlib $(CFLAGS_MOD) $(CFLAGS_EXTRA) CFLAGS += -D$(CMSIS_MCU) CFLAGS += $(CFLAGS_MCU_$(MCU_SERIES)) CFLAGS += $(COPT) |
