Makefile 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #
  2. # Makefile for the Linux/SuperH SH-4 backends.
  3. #
  4. # CPU subtype setup
  5. obj-$(CONFIG_CPU_SUBTYPE_SH7757) += setup-sh7757.o
  6. obj-$(CONFIG_CPU_SUBTYPE_SH7763) += setup-sh7763.o
  7. obj-$(CONFIG_CPU_SUBTYPE_SH7770) += setup-sh7770.o
  8. obj-$(CONFIG_CPU_SUBTYPE_SH7780) += setup-sh7780.o
  9. obj-$(CONFIG_CPU_SUBTYPE_SH7785) += setup-sh7785.o
  10. obj-$(CONFIG_CPU_SUBTYPE_SH7786) += setup-sh7786.o intc-shx3.o
  11. obj-$(CONFIG_CPU_SUBTYPE_SH7343) += setup-sh7343.o
  12. obj-$(CONFIG_CPU_SUBTYPE_SH7722) += setup-sh7722.o serial-sh7722.o
  13. obj-$(CONFIG_CPU_SUBTYPE_SH7723) += setup-sh7723.o
  14. obj-$(CONFIG_CPU_SUBTYPE_SH7724) += setup-sh7724.o
  15. obj-$(CONFIG_CPU_SUBTYPE_SH7734) += setup-sh7734.o
  16. obj-$(CONFIG_CPU_SUBTYPE_SH7366) += setup-sh7366.o
  17. obj-$(CONFIG_CPU_SUBTYPE_SHX3) += setup-shx3.o intc-shx3.o
  18. # SMP setup
  19. smp-$(CONFIG_CPU_SHX3) := smp-shx3.o
  20. # Primary on-chip clocks (common)
  21. clock-$(CONFIG_CPU_SUBTYPE_SH7757) := clock-sh7757.o
  22. clock-$(CONFIG_CPU_SUBTYPE_SH7763) := clock-sh7763.o
  23. clock-$(CONFIG_CPU_SUBTYPE_SH7770) := clock-sh7770.o
  24. clock-$(CONFIG_CPU_SUBTYPE_SH7780) := clock-sh7780.o
  25. clock-$(CONFIG_CPU_SUBTYPE_SH7785) := clock-sh7785.o
  26. clock-$(CONFIG_CPU_SUBTYPE_SH7786) := clock-sh7786.o
  27. clock-$(CONFIG_CPU_SUBTYPE_SH7343) := clock-sh7343.o
  28. clock-$(CONFIG_CPU_SUBTYPE_SH7722) := clock-sh7722.o
  29. clock-$(CONFIG_CPU_SUBTYPE_SH7723) := clock-sh7723.o
  30. clock-$(CONFIG_CPU_SUBTYPE_SH7724) := clock-sh7724.o
  31. clock-$(CONFIG_CPU_SUBTYPE_SH7734) := clock-sh7734.o
  32. clock-$(CONFIG_CPU_SUBTYPE_SH7366) := clock-sh7366.o
  33. clock-$(CONFIG_CPU_SUBTYPE_SHX3) := clock-shx3.o
  34. # Pinmux setup
  35. pinmux-$(CONFIG_CPU_SUBTYPE_SH7722) := pinmux-sh7722.o
  36. pinmux-$(CONFIG_CPU_SUBTYPE_SH7723) := pinmux-sh7723.o
  37. pinmux-$(CONFIG_CPU_SUBTYPE_SH7724) := pinmux-sh7724.o
  38. pinmux-$(CONFIG_CPU_SUBTYPE_SH7734) := pinmux-sh7734.o
  39. pinmux-$(CONFIG_CPU_SUBTYPE_SH7757) := pinmux-sh7757.o
  40. pinmux-$(CONFIG_CPU_SUBTYPE_SH7785) := pinmux-sh7785.o
  41. pinmux-$(CONFIG_CPU_SUBTYPE_SH7786) := pinmux-sh7786.o
  42. pinmux-$(CONFIG_CPU_SUBTYPE_SHX3) := pinmux-shx3.o
  43. obj-y += $(clock-y)
  44. obj-$(CONFIG_SMP) += $(smp-y)
  45. obj-$(CONFIG_GPIOLIB) += $(pinmux-y)
  46. obj-$(CONFIG_PERF_EVENTS) += perf_event.o
  47. obj-$(CONFIG_HAVE_HW_BREAKPOINT) += ubc.o