Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #
  2. # Makefile for the linux kernel.
  3. #
  4. # Common objects
  5. obj-y := timer.o console.o clock.o
  6. # CPU objects
  7. obj-$(CONFIG_ARCH_SH7367) += setup-sh7367.o clock-sh7367.o intc-sh7367.o
  8. obj-$(CONFIG_ARCH_SH7377) += setup-sh7377.o clock-sh7377.o intc-sh7377.o
  9. obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o clock-sh7372.o intc-sh7372.o
  10. obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o
  11. obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o intc-r8a7740.o
  12. obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o
  13. # SMP objects
  14. smp-y := platsmp.o headsmp.o
  15. smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
  16. smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o
  17. smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o
  18. # Pinmux setup
  19. pfc-y :=
  20. pfc-$(CONFIG_ARCH_SH7367) += pfc-sh7367.o
  21. pfc-$(CONFIG_ARCH_SH7377) += pfc-sh7377.o
  22. pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o
  23. pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
  24. pfc-$(CONFIG_ARCH_R8A7740) += pfc-r8a7740.o
  25. pfc-$(CONFIG_ARCH_R8A7779) += pfc-r8a7779.o
  26. # IRQ objects
  27. obj-$(CONFIG_ARCH_SH7367) += entry-intc.o
  28. obj-$(CONFIG_ARCH_SH7377) += entry-intc.o
  29. obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
  30. obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
  31. # PM objects
  32. obj-$(CONFIG_SUSPEND) += suspend.o
  33. obj-$(CONFIG_CPU_IDLE) += cpuidle.o
  34. obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
  35. obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
  36. # Board objects
  37. obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o
  38. obj-$(CONFIG_MACH_G4EVM) += board-g4evm.o
  39. obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o
  40. obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
  41. obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
  42. obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
  43. obj-$(CONFIG_MACH_BONITO) += board-bonito.o
  44. obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
  45. # Framework support
  46. obj-$(CONFIG_SMP) += $(smp-y)
  47. obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y)