]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/powerpc/lib/Makefile
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 ## Build a couple of necessary functions into a private libgcc
9 ## if the user asked for it
10 ifdef USE_PRIVATE_LIBGCC
18 ifdef CONFIG_SPL_BUILD
19 ifdef CONFIG_SPL_INIT_MINIMAL
25 obj-y
+= cache.o time.o
35 obj-
$(CONFIG_BAT_RW
) += bat_rw.o
36 ifndef CONFIG_SPL_BUILD
37 ifndef CONFIG_SYS_GENERIC_BOARD
41 obj-
$(CONFIG_CMD_BOOTM
) += bootm.o
45 obj-
$(CONFIG_CMD_KGDB
) += kgdb.o
46 obj-
$(CONFIG_CMD_IDE
) += ide.o
49 # Don't include the MPC5xxx special memcpy into the
50 # SPL U-Boot image. memcpy is used in the SPL NOR
51 # flash driver. And we need the real, fast memcpy
52 # here. We have no problems with unaligned access.
53 ifndef CONFIG_SPL_BUILD
54 # Workaround for local bus unaligned access problems
55 # on MPC512x and MPC5200
57 AFLAGS_ppcstring.o
+= -Dmemcpy
=__memcpy
58 obj-y
+= memcpy_mpc5200.o
61 AFLAGS_ppcstring.o
+= -Dmemcpy
=__memcpy
62 obj-y
+= memcpy_mpc5200.o
68 ifdef CONFIG_SPL_BUILD
69 obj-
$(CONFIG_SPL_FRAMEWORK
) += spl.o