zephyr/soc/cdns/sample_controller32/CMakeLists.txt
Daniel Leung d0e2a62daf soc: xtensa: add sample_controller32
Add sample_controller32 for Xtensa which has MPU.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2024-10-02 09:58:36 +02:00

8 lines
238 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_include_directories(include)
zephyr_library_sources_ifdef(CONFIG_XTENSA_MPU mpu.c)
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/include/xtensa-sample-controller32.ld CACHE INTERNAL "")