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:
commit
ec7c9ab590
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user