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_ARM64 12obj-y += crt0_64.o 13else 14obj-y += vectors.o crt0.o 15endif 16 17ifndef CONFIG_SPL_BUILD 18ifdef CONFIG_ARM64 19obj-y += relocate_64.o 20else 21obj-y += relocate.o 22endif 23ifndef CONFIG_SYS_GENERIC_BOARD 24obj-y += board.o 25endif 26 27obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o 28obj-$(CONFIG_CMD_BOOTM) += bootm.o 29obj-$(CONFIG_SYS_L2_PL310) += cache-pl310.o 30obj-$(CONFIG_USE_ARCH_MEMSET) += memset.o 31obj-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o 32else 33obj-$(CONFIG_SPL_FRAMEWORK) += spl.o 34endif 35obj-$(CONFIG_SEMIHOSTING) += semihosting.o 36 37obj-y += sections.o 38ifdef CONFIG_ARM64 39obj-y += gic_64.o 40obj-y += interrupts_64.o 41else 42obj-y += interrupts.o 43endif 44obj-y += reset.o 45 46obj-y += cache.o 47ifndef CONFIG_ARM64 48obj-y += cache-cp15.o 49endif 50 51# For EABI conformant tool chains, provide eabi_compat() 52ifneq (,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS))) 53extra-y += eabi_compat.o 54endif 55