]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/lib/Makefile
arm: move exception handling out of start.S files
[karo-tx-uboot.git] / arch / arm / lib / Makefile
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
8 lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _divsi3.o \
9                         _lshrdi3.o _modsi3.o _udivsi3.o _umodsi3.o div0.o
10
11 ifdef CONFIG_ARM64
12 obj-y   += crt0_64.o
13 else
14 obj-y   += vectors.o crt0.o
15 endif
16
17 ifndef CONFIG_SPL_BUILD
18 ifdef CONFIG_ARM64
19 obj-y   += relocate_64.o
20 else
21 obj-y   += relocate.o
22 endif
23 ifndef CONFIG_SYS_GENERIC_BOARD
24 obj-y   += board.o
25 endif
26
27 obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o
28 obj-$(CONFIG_CMD_BOOTM) += bootm.o
29 obj-$(CONFIG_SYS_L2_PL310) += cache-pl310.o
30 obj-$(CONFIG_USE_ARCH_MEMSET) += memset.o
31 obj-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o
32 else
33 obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
34 endif
35
36 obj-y   += sections.o
37 ifdef CONFIG_ARM64
38 obj-y   += gic_64.o
39 obj-y   += interrupts_64.o
40 else
41 obj-y   += interrupts.o
42 endif
43 obj-y   += reset.o
44
45 obj-y   += cache.o
46 ifndef CONFIG_ARM64
47 obj-y   += cache-cp15.o
48 endif
49
50 # For EABI conformant tool chains, provide eabi_compat()
51 ifneq (,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS)))
52 extra-y += eabi_compat.o
53 endif