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