1# 2# (C) Copyright 2002-2006 3# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4# 5# SPDX-License-Identifier: GPL-2.0+ 6# 7 8lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _divsi3.o \ 9 _lshrdi3.o _modsi3.o _udivsi3.o _umodsi3.o div0.o 10 11ifdef CONFIG_CPU_V7M 12obj-y += vectors_m.o crt0.o 13else ifdef CONFIG_ARM64 14obj-y += crt0_64.o 15else 16obj-y += vectors.o crt0.o 17endif 18 19ifndef CONFIG_SPL_BUILD 20ifdef CONFIG_ARM64 21obj-y += relocate_64.o 22else 23obj-y += relocate.o 24endif 25ifndef CONFIG_SYS_GENERIC_BOARD 26obj-y += board.o 27endif 28 29obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o 30obj-$(CONFIG_CMD_BOOTM) += bootm.o 31obj-$(CONFIG_SYS_L2_PL310) += cache-pl310.o 32obj-$(CONFIG_USE_ARCH_MEMSET) += memset.o 33obj-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o 34else 35obj-$(CONFIG_SPL_FRAMEWORK) += spl.o 36endif 37obj-$(CONFIG_SEMIHOSTING) += semihosting.o 38 39obj-y += sections.o 40obj-y += stack.o 41ifdef CONFIG_CPU_V7M 42obj-y += interrupts_m.o 43else ifdef CONFIG_ARM64 44obj-y += gic_64.o 45obj-y += interrupts_64.o 46else 47obj-y += interrupts.o 48endif 49obj-y += reset.o 50 51obj-y += cache.o 52ifndef CONFIG_ARM64 53obj-y += cache-cp15.o 54endif 55 56obj-$(CONFIG_DEBUG_LL) += debug.o 57 58# For EABI conformant tool chains, provide eabi_compat() 59ifneq (,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS))) 60extra-y += eabi_compat.o 61endif 62