Makefile 877 B

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