Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Makefile for the Linux/SuperH SH-3 backends.
  3. #
  4. obj-y := ex.o probe.o entry.o setup-sh3.o
  5. obj-$(CONFIG_HIBERNATION) += swsusp.o
  6. # CPU subtype setup
  7. obj-$(CONFIG_CPU_SUBTYPE_SH7705) += setup-sh7705.o serial-sh770x.o
  8. obj-$(CONFIG_CPU_SUBTYPE_SH7706) += setup-sh770x.o serial-sh770x.o
  9. obj-$(CONFIG_CPU_SUBTYPE_SH7707) += setup-sh770x.o serial-sh770x.o
  10. obj-$(CONFIG_CPU_SUBTYPE_SH7708) += setup-sh770x.o serial-sh770x.o
  11. obj-$(CONFIG_CPU_SUBTYPE_SH7709) += setup-sh770x.o serial-sh770x.o
  12. obj-$(CONFIG_CPU_SUBTYPE_SH7710) += setup-sh7710.o serial-sh7710.o
  13. obj-$(CONFIG_CPU_SUBTYPE_SH7712) += setup-sh7710.o serial-sh7710.o
  14. obj-$(CONFIG_CPU_SUBTYPE_SH7720) += setup-sh7720.o serial-sh7720.o
  15. obj-$(CONFIG_CPU_SUBTYPE_SH7721) += setup-sh7720.o serial-sh7720.o
  16. # Primary on-chip clocks (common)
  17. clock-$(CONFIG_CPU_SH3) := clock-sh3.o
  18. clock-$(CONFIG_CPU_SUBTYPE_SH7705) := clock-sh7705.o
  19. clock-$(CONFIG_CPU_SUBTYPE_SH7706) := clock-sh7706.o
  20. clock-$(CONFIG_CPU_SUBTYPE_SH7709) := clock-sh7709.o
  21. clock-$(CONFIG_CPU_SUBTYPE_SH7710) := clock-sh7710.o
  22. clock-$(CONFIG_CPU_SUBTYPE_SH7720) := clock-sh7710.o
  23. clock-$(CONFIG_CPU_SUBTYPE_SH7712) := clock-sh7712.o
  24. # Pinmux setup
  25. pinmux-$(CONFIG_CPU_SUBTYPE_SH7720) := pinmux-sh7720.o
  26. obj-y += $(clock-y)
  27. obj-$(CONFIG_GPIOLIB) += $(pinmux-y)