From c800b982444d7354a7b8fa45cb4c61108f4335a6 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Sat, 20 May 2023 19:53:00 +0200 Subject: [PATCH] makefiles/vars.inc.mk: export LLVM specific flags and include dirs --- makefiles/vars.inc.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makefiles/vars.inc.mk b/makefiles/vars.inc.mk index 9c35946e8f..53d29b953d 100644 --- a/makefiles/vars.inc.mk +++ b/makefiles/vars.inc.mk @@ -22,6 +22,9 @@ export INCLUDES # The extra include paths, set by the various Makef export CXXINCLUDES # The extra include paths for c++, set by the various Makefile.include files. export NATIVEINCLUDES # The native include paths, set by the various native Makefile.include files. +export GCC_C_INCLUDES # system include dirs implicitly used by GCC's c compiler, only defined with TOOLCHAIN=llvm +export GCC_CXX_INCLUDES # system include dirs implicitly used by GCC's c++ compiler, only defined with TOOLCHAIN=llvm + export USEMODULE # Sys Module dependencies of the application. Set in the application's Makefile. export BIN_USEMODULE # Modules specific to bindist (see bindist.ink.mk). Set in the application's Makefile. export USEPKG # Pkg dependencies (third party modules) of the application. Set in the application's Makefile. @@ -60,6 +63,7 @@ export FEATURES_USED # List of features used export TOOLCHAIN # Base build toolchain, i.e. GNU or LLVM export TARGET_ARCH # The target platform name, in GCC triple notation, e.g. "arm-none-eabi", "i686-elf", "avr" +export TARGET_ARCH_LLVM # The target platform name, in LLVM triple notation, e.g. "arm-none-eabi" export PREFIX # The prefix of the toolchain commands, usually "$(TARGET_ARCH)-", e.g. "arm-none-eabi-" or "msp430-". export CC # The C compiler to use. export CXX # The CXX compiler to use.