Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Makefile for the Linux/SuperH SH-4 backends.
  3. #
  4. obj-y := probe.o common.o
  5. common-y += $(addprefix ../sh3/, entry.o ex.o)
  6. obj-$(CONFIG_HIBERNATION) += $(addprefix ../sh3/, swsusp.o)
  7. obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o
  8. obj-$(CONFIG_SH_STORE_QUEUES) += sq.o
  9. # Perf events
  10. perf-$(CONFIG_CPU_SUBTYPE_SH7750) := perf_event.o
  11. perf-$(CONFIG_CPU_SUBTYPE_SH7750S) := perf_event.o
  12. perf-$(CONFIG_CPU_SUBTYPE_SH7091) := perf_event.o
  13. # CPU subtype setup
  14. obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o
  15. obj-$(CONFIG_CPU_SUBTYPE_SH7750R) += setup-sh7750.o
  16. obj-$(CONFIG_CPU_SUBTYPE_SH7750S) += setup-sh7750.o
  17. obj-$(CONFIG_CPU_SUBTYPE_SH7091) += setup-sh7750.o
  18. obj-$(CONFIG_CPU_SUBTYPE_SH7751) += setup-sh7750.o
  19. obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += setup-sh7750.o
  20. obj-$(CONFIG_CPU_SUBTYPE_SH7760) += setup-sh7760.o
  21. obj-$(CONFIG_CPU_SUBTYPE_SH4_202) += setup-sh4-202.o
  22. # Primary on-chip clocks (common)
  23. ifndef CONFIG_CPU_SH4A
  24. clock-$(CONFIG_CPU_SH4) := clock-sh4.o
  25. endif
  26. # Additional clocks by subtype
  27. clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o
  28. obj-y += $(clock-y)
  29. obj-$(CONFIG_PERF_EVENTS) += $(perf-y)