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 35 36obj-y += sections.o 37ifdef CONFIG_ARM64 38obj-y += gic_64.o 39obj-y += interrupts_64.o 40else 41obj-y += interrupts.o 42endif 43obj-y += reset.o 44 45obj-y += cache.o 46ifndef CONFIG_ARM64 47obj-y += cache-cp15.o 48endif 49 50# For EABI conformant tool chains, provide eabi_compat() 51ifneq (,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS))) 52extra-y += eabi_compat.o 53endif 54