| # (C) Copyright 2000-2006 |
| # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| # SPDX-License-Identifier: GPL-2.0+ |
| ## Build a couple of necessary functions into a private libgcc |
| ## if the user asked for it |
| lib-$(CONFIG_USE_PRIVATE_LIBGCC) += _ashldi3.o _ashrdi3.o _lshrdi3.o |
| ifdef CONFIG_SPL_INIT_MINIMAL |
| obj-$(CONFIG_BAT_RW) += bat_rw.o |
| ifndef CONFIG_SYS_GENERIC_BOARD |
| obj-$(CONFIG_CMD_BOOTM) += bootm.o |
| obj-$(CONFIG_CMD_KGDB) += kgdb.o |
| obj-$(CONFIG_CMD_IDE) += ide.o |
| # Don't include the MPC5xxx special memcpy into the |
| # SPL U-Boot image. memcpy is used in the SPL NOR |
| # flash driver. And we need the real, fast memcpy |
| # here. We have no problems with unaligned access. |
| # Workaround for local bus unaligned access problems |
| AFLAGS_ppcstring.o += -Dmemcpy=__memcpy |
| obj-y += memcpy_mpc5200.o |
| AFLAGS_ppcstring.o += -Dmemcpy=__memcpy |
| obj-y += memcpy_mpc5200.o |
| obj-$(CONFIG_SPL_FRAMEWORK) += spl.o |