[riot-notifications] [RIOT] cortexm: Add support for building with LLVM/Clang (#3119)
notifications at github.com
Mon Jun 1 12:02:55 CEST 2015
> @@ -1,18 +1,34 @@
> # Target triple for the build. Use arm-none-eabi if you are unsure.
> export TARGET_TRIPLE ?= arm-none-eabi
> -# Toolchain prefix, defaults to target triple followed by a dash, you will most likely not need to touch this.
> +# Use TOOLCHAIN environment variable to select the toolchain to use.
> +ifeq (,$(TOOLCHAIN))
> +# Default: gnu
> +TOOLCHAIN = gnu
> +export TOOLCHAIN
> +ifeq (,$(PREFIX))
> +# default toolchain prefix, defaults to target triple followed by a dash, you
> +# will most likely not need to touch this.
> export PREFIX ?= $(if $(TARGET_TRIPLE),$(TARGET_TRIPLE)-)
The ?= and ifeq above are redundant, right?
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications