Skip to content
Snippets Groups Projects
Commit cad5f08b authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

Makefile.include: Set PREFIX if not set

parent b46b9d90
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,10 @@ endif ...@@ -159,6 +159,10 @@ endif
export TOOLCHAIN export TOOLCHAIN
# default toolchain prefix, defaults to target triple followed by a dash, you
# will most likely not need to touch this.
export PREFIX ?= $(if $(TARGET_ARCH),$(TARGET_ARCH)-)
# Import all toolchain settings # Import all toolchain settings
include $(RIOTCPU)/Makefile.include.$(TOOLCHAIN) include $(RIOTCPU)/Makefile.include.$(TOOLCHAIN)
......
# Target triple for the build. Use arm-none-eabi if you are unsure. # Target triple for the build. Use arm-none-eabi if you are unsure.
export TARGET_ARCH ?= arm-none-eabi export TARGET_ARCH ?= arm-none-eabi
# default toolchain prefix, defaults to target triple followed by a dash, you
# will most likely not need to touch this.
export PREFIX ?= $(if $(TARGET_ARCH),$(TARGET_ARCH)-)
# define build specific options # define build specific options
export CFLAGS_CPU = -mcpu=$(MCPU) -mlittle-endian -mthumb $(CFLAGS_FPU) export CFLAGS_CPU = -mcpu=$(MCPU) -mlittle-endian -mthumb $(CFLAGS_FPU)
ifneq (llvm,$(TOOLCHAIN)) ifneq (llvm,$(TOOLCHAIN))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment