zephyr/cmake
Daniel Leung 146e22fca4 cmake: xcc/xt-clang: fix for proper system include paths
Although xt-clang is based on clang, for some reason, it still
lists xcc system include path as the first search path (e.g.
for stddef.h), and the clang system include path as last. This
creates a big issue when the code starts to use any standards
past C89 (since xcc is based on GCC 4.2). We can use compiler
property nostdin_include to add -isystem to compiler options.
However, some modules (e.g. picolibcs) somehow ignore this.
So we also need to forcibly do add_compile_options() to make
sure the clang system include path is placed before the xcc
system include path.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2025-06-11 16:10:53 -07:00
..
app
bintools CMake: Add support for .mot binary file format 2025-05-02 09:18:16 +02:00
compiler cmake: xcc/xt-clang: fix for proper system include paths 2025-06-11 16:10:53 -07:00
emu cmake/emu: Use SIMICS_PROJECT environment variable as working dir 2025-05-20 12:47:25 +02:00
flash CMake: Add support for .mot binary file format 2025-05-02 09:18:16 +02:00
ide
linker iar: linker: Do --whole_archive linking 2025-06-09 14:37:05 -07:00
linker_script linker: Place .tbss section in RAM, not FLASH 2025-06-10 22:13:09 +02:00
makefile_exports
modules cmake: Fix warning if a Zephyr library is created in app-mode 2025-06-09 15:02:01 -07:00
reports cmake: reports: Fix file prefix for tfm/bl2 2025-02-24 15:36:45 +00:00
sca sca: add HTML summary and full report options to ECLAIR configuration 2025-06-10 12:53:59 -04:00
toolchain iar: toolchain: Implement IAR static init routine 2025-05-12 19:18:56 +02:00
usage
util
cfb.cmake
extra_flags.cmake
gcc-m-cpu.cmake arch: arm: Add Cortex-A7 support 2025-04-04 09:35:03 +02:00
gcc-m-fpu.cmake arch: arm: Add Cortex-A7 support 2025-04-04 09:35:03 +02:00
gen_version_h.cmake
kobj.cmake cmake: fix syscall dependencies 2025-05-13 16:23:54 +02:00
llext-edk.cmake llext-edk: fix BOARD_TARGET variable generation to be Zephyr-compatible 2025-04-02 19:02:45 +02:00
mcuboot.cmake mcuboot: Kconfig options for single app slot RAM loading mode 2025-04-08 16:12:33 +02:00
package_helper.cmake cmake: move script mode handling from package helper to extensions.cmake 2024-10-08 17:00:30 +02:00
pristine.cmake
target_toolchain_flags.cmake cmake: source dedicated linker library properties for native builds 2024-11-16 15:28:20 -05:00
verify-toolchain.cmake
vif.cmake
yaml-filter.cmake cmake: yaml: switch to yaml for intermediate file 2025-04-10 10:11:47 +02:00