1# Copyright (c) 2021 IoT.bzh 2# Copyright (c) 2023 EPAM Systems 3# SPDX-License-Identifier: Apache-2.0 4 5if(CONFIG_ARM) 6 zephyr_sources(r7/soc.c) 7 zephyr_include_directories(r7) 8 9 set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_a_r/scripts/linker.ld CACHE INTERNAL "") 10elseif(CONFIG_ARM64) 11 zephyr_include_directories(a57) 12 zephyr_library_sources_ifdef(CONFIG_ARM_MMU mmu_regions.c) 13 14 set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm64/scripts/linker.ld CACHE INTERNAL "") 15endif() 16