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