]> git.ipfire.org Git - people/ms/u-boot.git/blob - arch/powerpc/lib/Makefile
powerpc, 5xxx, 512x: remove support for mpc5xxx and mpc512x
[people/ms/u-boot.git] / arch / powerpc / lib / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier: GPL-2.0+
6 #
7
8 ## Build a couple of necessary functions into a private libgcc
9 ## if the user asked for it
10 lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o
11
12 MINIMAL=
13
14 ifdef CONFIG_SPL_BUILD
15 ifdef CONFIG_SPL_INIT_MINIMAL
16 MINIMAL=y
17 endif
18 endif
19
20 obj-$(CONFIG_SYS_EXTBDINFO) += setup.o
21 ifdef MINIMAL
22 obj-y += cache.o time.o
23 obj-y += ticks.o
24 else
25
26 obj-y += ppcstring.o
27
28 obj-y += ppccache.o
29 obj-y += ticks.o
30 obj-y += reloc.o
31
32 obj-$(CONFIG_BAT_RW) += bat_rw.o
33 obj-$(CONFIG_CMD_BOOTM) += bootm.o
34 obj-y += cache.o
35 obj-y += extable.o
36 obj-y += interrupts.o
37 obj-$(CONFIG_CMD_KGDB) += kgdb.o
38 obj-y += stack.o
39 obj-y += time.o
40 endif # not minimal
41
42 ifdef CONFIG_SPL_BUILD
43 obj-$(CONFIG_SPL_FRAMEWORK) += spl.o
44 endif