zephyr/soc/xtensa/intel_adsp/ace
Torsten Rasmussen ba7e6fa69f cmake: cleanup and simplify the standard include logic in Zephyr
Several paths are checked for existence before added as global Zephyr
include path.

The existence check was needed because some tooling emit warnings on
non-existing paths.

Only few SoCs are using those pre-defined paths, yet this code runs
for all SoCs. The principle originates back from Kbuild days, and with
CMake it's more common and generally more visible to let the CMake code
defining libraries to specify include paths.

Furthermore it appears that several SoC implementation following the
<soc-path>/include was unaware that the path would be automatically
added as include path, cause they contain lines like:
    zephyr_library_include_directories(include)

Remove pre-defineds path except the `<SOC_PATH>` path, which is
guaranteed to exists.
This simplifies the CMake logic in the top-level Zephyr CMakeLists.txt
file.

This cleanup further prepares for future work where SoCs need not to
be organised under architectures which is important for multi-arch SoCs.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2023-11-06 18:57:30 -05:00
..
include soc: intel_adsp: lpsram init refactor 2023-10-20 15:12:53 +02:00
CMakeLists.txt cmake: cleanup and simplify the standard include logic in Zephyr 2023-11-06 18:57:30 -05:00
Kconfig.defconfig.ace15_mtpm
Kconfig.defconfig.ace20_lnl
Kconfig.defconfig.series
Kconfig.series
Kconfig.soc
_soc_inthandlers.h
ace-link.ld
asm_memory_management.h
boot.c
comm_widget.c
comm_widget.h
comm_widget_messages.c
irq.c
linker.ld
multiprocessing.c
pmc_interface.h
power.c
power_down.S
sram.c soc: intel_adsp: lpsram enable retention mode 2023-10-20 15:12:53 +02:00