1# Copyright 2023-2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4zephyr_include_directories(.)
5
6set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
7
8zephyr_sources(soc.c)
9zephyr_sources_ifdef(CONFIG_ARM_MPU nxp_mpu_regions.c)
10
11zephyr_sources_ifdef(CONFIG_NXP_S32_FLASH_CONFIG flash_configuration.c)
12zephyr_linker_sources_ifdef(CONFIG_NXP_S32_FLASH_CONFIG ROM_START SORT_KEY 0x1 flash_config.ld)
13