diff --git a/Makefile b/Makefile index 18a4669..9b9b4b2 100644 --- a/Makefile +++ b/Makefile @@ -47,9 +47,9 @@ obj = $(addprefix $(BUILD)/, $(obj-y)) -include $(obj:.o=.d) # Set up the toolchain. -CC := $(PREFIX)-gcc -LD := $(PREFIX)-gcc -GDB := $(PREFIX)-gdb +CC := $(PREFIX)gcc +LD := $(PREFIX)gcc +GDB := $(PREFIX)gdb MAKE := make .SECONDARY: diff --git a/scripts/Makefile.stm32f0 b/scripts/Makefile.stm32f0 index 9070df3..6b33d73 100644 --- a/scripts/Makefile.stm32f0 +++ b/scripts/Makefile.stm32f0 @@ -1,4 +1,4 @@ -PREFIX ?= arm-none-eabi +PREFIX ?= arm-none-eabi- LDSCRIPT = support/stm32f0-discovery.ld