Makefile 696 B

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