Makefile 753 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # SPDX-License-Identifier: GPL-2.0+
  2. #
  3. # (C) Copyright 2006
  4. # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  5. #
  6. # Copyright 2004 Freescale Semiconductor, Inc.
  7. MINIMAL=
  8. ifdef CONFIG_SPL_BUILD
  9. ifdef CONFIG_SPL_INIT_MINIMAL
  10. MINIMAL=y
  11. endif
  12. endif
  13. extra-y = start.o
  14. ifdef MINIMAL
  15. obj-y += spl_minimal.o
  16. else
  17. obj-y += traps.o
  18. obj-y += cpu.o
  19. obj-y += cpu_init.o
  20. obj-y += speed.o
  21. obj-y += interrupts.o
  22. obj-y += ecc.o
  23. ifndef CONFIG_PINCTRL
  24. obj-$(CONFIG_QE) += qe_io.o
  25. endif
  26. obj-$(CONFIG_FSL_SERDES) += serdes.o
  27. ifndef CONFIG_ARCH_MPC8308
  28. obj-$(CONFIG_PCI) += pci.o
  29. endif
  30. obj-$(CONFIG_PCIE) += pcie.o
  31. obj-$(CONFIG_OF_LIBFDT) += fdt.o
  32. ifndef CONFIG_SYS_FSL_DDRC_GEN2
  33. obj-y += spd_sdram.o
  34. endif
  35. obj-$(CONFIG_SYS_FSL_DDR2) += law.o
  36. endif # not minimal