make: improve prefix support

tags/0.1.0
S.J.R. van Schaik 8 years ago
parent ebd770b957
commit a221bf87bf
  1. 6
      Makefile
  2. 2
      scripts/Makefile.stm32f0

@ -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:

@ -1,4 +1,4 @@
PREFIX ?= arm-none-eabi
PREFIX ?= arm-none-eabi-
LDSCRIPT = support/stm32f0-discovery.ld

Loading…
Cancel
Save