1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

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

This commit is contained in:
Joakim Gebart 2015-07-13 17:04:57 +02:00
parent 559550f4d6
commit 3cfb1b6099

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