]>
Commit | Line | Data |
---|---|---|
f47713f3 | 1 | # |
f9328639 | 2 | # (C) Copyright 2002-2006 |
f47713f3 WD |
3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
4 | # | |
1a459660 | 5 | # SPDX-License-Identifier: GPL-2.0+ |
f47713f3 WD |
6 | # |
7 | ||
cd2e46cb MY |
8 | lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _divsi3.o \ |
9 | _lshrdi3.o _modsi3.o _udivsi3.o _umodsi3.o div0.o | |
823afe7c | 10 | |
0ae76531 DF |
11 | ifdef CONFIG_ARM64 |
12 | obj-y += crt0_64.o | |
13 | else | |
41623c91 | 14 | obj-y += vectors.o crt0.o |
0ae76531 | 15 | endif |
e05e5de7 | 16 | |
c497be78 | 17 | ifndef CONFIG_SPL_BUILD |
0ae76531 DF |
18 | ifdef CONFIG_ARM64 |
19 | obj-y += relocate_64.o | |
20 | else | |
21 | obj-y += relocate.o | |
22 | endif | |
959daa21 | 23 | ifndef CONFIG_SYS_GENERIC_BOARD |
fa8f9508 | 24 | obj-y += board.o |
959daa21 SG |
25 | endif |
26 | ||
fa8f9508 MY |
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 | |
6507f133 | 32 | else |
fa8f9508 | 33 | obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |
05bad4aa | 34 | endif |
261d2760 | 35 | obj-$(CONFIG_SEMIHOSTING) += semihosting.o |
823afe7c | 36 | |
d0b5d9da | 37 | obj-y += sections.o |
0ae76531 | 38 | ifdef CONFIG_ARM64 |
c71645ad | 39 | obj-y += gic_64.o |
0ae76531 DF |
40 | obj-y += interrupts_64.o |
41 | else | |
fa8f9508 | 42 | obj-y += interrupts.o |
0ae76531 | 43 | endif |
fa8f9508 | 44 | obj-y += reset.o |
52b1bf2c | 45 | |
fa8f9508 | 46 | obj-y += cache.o |
0ae76531 | 47 | ifndef CONFIG_ARM64 |
fa8f9508 | 48 | obj-y += cache-cp15.o |
0ae76531 | 49 | endif |
f772acf8 | 50 | |
51b17d49 MY |
51 | obj-$(CONFIG_DEBUG_LL) += debug.o |
52 | ||
f772acf8 WD |
53 | # For EABI conformant tool chains, provide eabi_compat() |
54 | ifneq (,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS))) | |
fa8f9508 | 55 | extra-y += eabi_compat.o |
52b1bf2c | 56 | endif |