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

boards/Makefile.include.cortexm_common: Add TOOLCHAIN=gcc as an alias for TOOLCHAIN=gnu

parent 559550f4
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,12 @@ ifeq (clang,$(TOOLCHAIN)) ...@@ -11,6 +11,12 @@ ifeq (clang,$(TOOLCHAIN))
# opposed to one set in the environment) # opposed to one set in the environment)
override TOOLCHAIN := llvm override TOOLCHAIN := llvm
endif endif
# TOOLCHAIN = gcc is an alias for TOOLCHAIN = gnu
ifeq (gcc,$(TOOLCHAIN))
# use override so that we can redefine a variable set on the command line (as
# opposed to one set in the environment)
override TOOLCHAIN := gnu
endif
export TOOLCHAIN export TOOLCHAIN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment