1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/toolchain
cladmi 1802e775ad
llvm.inc.mk: completely replace detection of GCC includes
This completely removes the hardcoded/os specific path setting for includes.
It directly queries gcc include directories.

It takes what was already done by `makefiles/libc/llvm.inc.mk`.

I replaced the `GCC_MULTI_DIR` handling by givining `CFLAGS_CPU` when
searching for include directories.
`CFLAGS` cannot be used as it will crash when `-target $(CPU_ARCH)` is
added.
It currently requires using deferred variables as `CFLAGS_CPU` can be
overwritten later in the build process.
2018-10-16 12:50:01 +02:00
..
gnu.inc.mk toolchain/gnu: also define NM 2018-07-23 17:29:55 +02:00
llvm.inc.mk llvm.inc.mk: completely replace detection of GCC includes 2018-10-16 12:50:01 +02:00