1# SPDX-License-Identifier: Apache-2.0 2 3if(CONFIG_SOC_BCM58402_A72) 4 zephyr_include_directories(a72) 5 6 zephyr_sources( 7 a72/soc.c 8 a72/plat_core.c 9 ) 10 11 zephyr_sources_ifdef(CONFIG_ARM_MMU a72/mmu_regions.c) 12 13 set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm64/scripts/linker.ld CACHE INTERNAL "") 14elseif(CONFIG_SOC_BCM58402_M7) 15 zephyr_include_directories(m7) 16 zephyr_sources(m7/soc.c) 17 18 set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "") 19endif() 20