Makefile 627 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Copyright 2014-2015, Freescale Semiconductor
  3. #
  4. # SPDX-License-Identifier: GPL-2.0+
  5. #
  6. obj-y += cpu.o
  7. obj-y += lowlevel.o
  8. obj-y += soc.o
  9. obj-$(CONFIG_MP) += mp.o
  10. obj-$(CONFIG_OF_LIBFDT) += fdt.o
  11. obj-$(CONFIG_SPL) += spl.o
  12. ifneq ($(CONFIG_FSL_LSCH3),)
  13. obj-y += fsl_lsch3_speed.o
  14. obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch3_serdes.o
  15. else
  16. ifneq ($(CONFIG_FSL_LSCH2),)
  17. obj-y += fsl_lsch2_speed.o
  18. obj-$(CONFIG_SYS_HAS_SERDES) += fsl_lsch2_serdes.o
  19. endif
  20. endif
  21. ifneq ($(CONFIG_LS2080A),)
  22. obj-$(CONFIG_SYS_HAS_SERDES) += ls2080a_serdes.o
  23. else
  24. ifneq ($(CONFIG_LS1043A),)
  25. obj-$(CONFIG_SYS_HAS_SERDES) += ls1043a_serdes.o
  26. endif
  27. endif