Merge pull request #3380 from gebart/pr/toolchain-gcc-alias

boards/Makefile.include.cortexm_common: Add TOOLCHAIN=gcc as an alias for TOOLCHAIN=gnu
This commit is contained in:
Hauke Petersen 2015-07-14 09:31:22 +02:00
commit ec7c9ab590

View File

@ -11,6 +11,12 @@ ifeq (clang,$(TOOLCHAIN))
# opposed to one set in the environment)
override TOOLCHAIN := llvm
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