]>
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 | ||
fa8f9508 MY |
8 | # Build private libgcc only when asked for |
9 | ifdef USE_PRIVATE_LIBGCC | |
10 | lib-y += _ashldi3.o | |
11 | lib-y += _ashrdi3.o | |
12 | lib-y += _divsi3.o | |
13 | lib-y += _lshrdi3.o | |
14 | lib-y += _modsi3.o | |
15 | lib-y += _udivsi3.o | |
16 | lib-y += _umodsi3.o | |
17 | lib-y += div0.o | |
18 | endif | |
823afe7c | 19 | |
0ae76531 DF |
20 | ifdef CONFIG_ARM64 |
21 | obj-y += crt0_64.o | |
22 | else | |
23 | obj-y += crt0.o | |
24 | endif | |
e05e5de7 | 25 | |
c497be78 | 26 | ifndef CONFIG_SPL_BUILD |
0ae76531 DF |
27 | ifdef CONFIG_ARM64 |
28 | obj-y += relocate_64.o | |
29 | else | |
30 | obj-y += relocate.o | |
31 | endif | |
959daa21 | 32 | ifndef CONFIG_SYS_GENERIC_BOARD |
fa8f9508 | 33 | obj-y += board.o |
959daa21 | 34 | endif |
0ae76531 | 35 | obj-y += sections.o |
959daa21 | 36 | |
fa8f9508 MY |
37 | obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o |
38 | obj-$(CONFIG_CMD_BOOTM) += bootm.o | |
39 | obj-$(CONFIG_SYS_L2_PL310) += cache-pl310.o | |
40 | obj-$(CONFIG_USE_ARCH_MEMSET) += memset.o | |
41 | obj-$(CONFIG_USE_ARCH_MEMCPY) += memcpy.o | |
6507f133 | 42 | else |
fa8f9508 | 43 | obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |
05bad4aa | 44 | endif |
823afe7c | 45 | |
0ae76531 DF |
46 | ifdef CONFIG_ARM64 |
47 | obj-y += interrupts_64.o | |
48 | else | |
fa8f9508 | 49 | obj-y += interrupts.o |
0ae76531 | 50 | endif |
fa8f9508 | 51 | obj-y += reset.o |
52b1bf2c | 52 | |
fa8f9508 | 53 | obj-y += cache.o |
0ae76531 | 54 | ifndef CONFIG_ARM64 |
fa8f9508 | 55 | obj-y += cache-cp15.o |
0ae76531 | 56 | endif |
f772acf8 WD |
57 | |
58 | # For EABI conformant tool chains, provide eabi_compat() | |
59 | ifneq (,$(findstring -mabi=aapcs-linux,$(PLATFORM_CPPFLAGS))) | |
fa8f9508 | 60 | extra-y += eabi_compat.o |
52b1bf2c | 61 | endif |