zephyr/soc/xtensa/intel_adsp/common
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 intel_adsp: Do not include device_runtime header 2023-10-27 10:51:14 +02:00
CMakeLists.txt cmake: cleanup and simplify the standard include logic in Zephyr 2023-11-06 18:57:30 -05:00
boot.c xtensa: intel_adsp: Lock vecbase after initial setup 2023-05-12 06:01:46 -04:00
boot_complete.c intel_adsp: boot_complete must be done PRE_KERNEL_1 2023-10-02 13:40:40 +01:00
clk.c soc: adsp: clk: update clock switch flow 2023-09-18 10:35:23 +01:00
ipc.c inte_adsp: ipc: prevent ipc message send during Device power transition 2023-06-22 06:14:57 -04:00
mem_window.c intel_adsp: move memory window setup to PRE_KERNEL_1 2023-09-20 15:17:14 +02:00
multiprocessing.c soc: intel_adsp: undefine NOP32 2023-05-25 04:49:14 -04:00
rimage_modules.c
soc.c soc: xtensa: intel_adsp: common: s/device.h/init.h 2023-08-30 14:43:01 +02:00