zephyr/soc/nxp/imx/imx9/CMakeLists.txt

15 lines
492 B
CMake

# SPDX-License-Identifier: Apache-2.0
if(CONFIG_SOC_MIMX9352_A55)
zephyr_include_directories(.)
zephyr_include_directories(a55)
zephyr_sources_ifdef(CONFIG_ARM_MMU a55/mmu_regions.c)
set(SOC_LINKER_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/a55/linker.ld CACHE INTERNAL "")
elseif(CONFIG_SOC_MIMX9352_M33)
zephyr_include_directories(.)
zephyr_include_directories(m33)
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
endif()