[riot-notifications] [RIOT-OS/RIOT] Makefile.include: change to account for TOOLCHAIN having dependencies (#15832)
notifications at github.com
Mon Jan 25 18:55:36 CET 2021
@aabadie commented on this pull request.
> +# Use TOOLCHAIN environment variable to select the toolchain to use.
+# If native, TOOLCHAIN for OSX is llvm
+ ifeq ($(OS),Darwin)
+ TOOLCHAIN ?= llvm
+# Use override so that we can redefine a variable set on the command line (as
+# opposed to one set in the environment)
+ # TOOLCHAIN = clang is an alias for TOOLCHAIN = llvm
+ override TOOLCHAIN := llvm
+ # TOOLCHAIN = gcc is an alias for TOOLCHAIN = gnu
+ override TOOLCHAIN := gnu
Does this means that TOOLCHAIN is equal to `gnu` when Makefile.dep is processed ? If yes, the toolchain specific dependency file should be called `Makefile.gnu.dep` and not `Makefile.gcc.dep` (in examples/gnrc_minimal) ?
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications