1# Copyright (c) 2023 IoT.bzh
2# SPDX-License-Identifier: Apache-2.0
3
4if(CONFIG_SOC_R8A779F0_R52)
5  zephyr_include_directories(r52)
6  set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_a_r/scripts/linker.ld CACHE INTERNAL "")
7elseif(CONFIG_SOC_R8A779F0_A55)
8  zephyr_include_directories(a55)
9  zephyr_library_sources_ifdef(CONFIG_ARM_MMU a55/mmu_regions.c)
10  set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm64/scripts/linker.ld CACHE INTERNAL "")
11endif()
12