Makefile 692 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. obj-$(CONFIG_QE) += qe_io.o
  24. obj-$(CONFIG_FSL_SERDES) += serdes.o
  25. obj-$(CONFIG_PCI) += pci.o
  26. obj-$(CONFIG_PCIE) += pcie.o
  27. obj-$(CONFIG_OF_LIBFDT) += fdt.o
  28. ifndef CONFIG_SYS_FSL_DDRC_GEN2
  29. obj-y += spd_sdram.o
  30. endif
  31. obj-$(CONFIG_SYS_FSL_DDR2) += law.o
  32. endif # not minimal