Makefile 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. obj-y := cpu.o system.o irq-common.o
  2. obj-$(CONFIG_SOC_IMX21) += mm-imx21.o
  3. obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o
  4. obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o
  5. obj-$(CONFIG_SOC_IMX27) += mm-imx27.o ehci-imx27.o
  6. obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o iomux-imx31.o ehci-imx31.o
  7. obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o ehci-imx35.o
  8. imx5-pm-$(CONFIG_PM) += pm-imx5.o
  9. obj-$(CONFIG_SOC_IMX5) += cpu-imx5.o $(imx5-pm-y)
  10. obj-$(CONFIG_IMX_HAVE_IOMUX_V1) += iomux-v1.o
  11. obj-$(CONFIG_ARCH_MXC_IOMUX_V3) += iomux-v3.o
  12. obj-$(CONFIG_MXC_TZIC) += tzic.o
  13. obj-$(CONFIG_MXC_AVIC) += avic.o
  14. obj-$(CONFIG_MXC_USE_EPIT) += epit.o
  15. obj-$(CONFIG_MXC_DEBUG_BOARD) += 3ds_debugboard.o
  16. ifeq ($(CONFIG_CPU_IDLE),y)
  17. obj-$(CONFIG_SOC_IMX5) += cpuidle-imx5.o
  18. obj-$(CONFIG_SOC_IMX6Q) += cpuidle-imx6q.o
  19. obj-$(CONFIG_SOC_IMX6SL) += cpuidle-imx6sl.o
  20. obj-$(CONFIG_SOC_IMX6SX) += cpuidle-imx6sx.o
  21. obj-$(CONFIG_SOC_IMX6UL) += cpuidle-imx6sx.o
  22. endif
  23. ifdef CONFIG_SND_IMX_SOC
  24. obj-y += ssi-fiq.o
  25. obj-y += ssi-fiq-ksym.o
  26. endif
  27. # i.MX21 based machines
  28. obj-$(CONFIG_MACH_MX21ADS) += mach-mx21ads.o
  29. # i.MX27 based machines
  30. obj-$(CONFIG_MACH_MX27ADS) += mach-mx27ads.o
  31. obj-$(CONFIG_MACH_MX27_3DS) += mach-mx27_3ds.o
  32. obj-$(CONFIG_MACH_IMX27_VISSTRIM_M10) += mach-imx27_visstrim_m10.o
  33. obj-$(CONFIG_MACH_PCA100) += mach-pca100.o
  34. obj-$(CONFIG_MACH_IMX27_DT) += imx27-dt.o
  35. # i.MX31 based machines
  36. obj-$(CONFIG_MACH_MX31ADS) += mach-mx31ads.o
  37. obj-$(CONFIG_MACH_MX31LILLY) += mach-mx31lilly.o mx31lilly-db.o
  38. obj-$(CONFIG_MACH_MX31LITE) += mach-mx31lite.o mx31lite-db.o
  39. obj-$(CONFIG_MACH_PCM037) += mach-pcm037.o
  40. obj-$(CONFIG_MACH_PCM037_EET) += mach-pcm037_eet.o
  41. obj-$(CONFIG_MACH_MX31_3DS) += mach-mx31_3ds.o
  42. obj-$(CONFIG_MACH_MX31MOBOARD) += mach-mx31moboard.o mx31moboard-devboard.o \
  43. mx31moboard-marxbot.o mx31moboard-smartbot.o
  44. obj-$(CONFIG_MACH_QONG) += mach-qong.o
  45. obj-$(CONFIG_MACH_ARMADILLO5X0) += mach-armadillo5x0.o
  46. obj-$(CONFIG_MACH_KZM_ARM11_01) += mach-kzm_arm11_01.o
  47. obj-$(CONFIG_MACH_BUG) += mach-bug.o
  48. obj-$(CONFIG_MACH_IMX31_DT) += imx31-dt.o
  49. # i.MX35 based machines
  50. obj-$(CONFIG_MACH_PCM043) += mach-pcm043.o
  51. obj-$(CONFIG_MACH_MX35_3DS) += mach-mx35_3ds.o
  52. obj-$(CONFIG_MACH_VPR200) += mach-vpr200.o
  53. obj-$(CONFIG_MACH_IMX35_DT) += imx35-dt.o
  54. obj-$(CONFIG_HAVE_IMX_ANATOP) += anatop.o
  55. obj-$(CONFIG_HAVE_IMX_GPC) += gpc.o
  56. obj-$(CONFIG_HAVE_IMX_MMDC) += mmdc.o
  57. obj-$(CONFIG_HAVE_IMX_SRC) += src.o
  58. ifneq ($(CONFIG_SOC_IMX6)$(CONFIG_SOC_LS1021A),)
  59. AFLAGS_headsmp.o :=-Wa,-march=armv7-a
  60. obj-$(CONFIG_SMP) += headsmp.o platsmp.o
  61. obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
  62. endif
  63. obj-$(CONFIG_SOC_IMX6Q) += mach-imx6q.o
  64. obj-$(CONFIG_SOC_IMX6SL) += mach-imx6sl.o
  65. obj-$(CONFIG_SOC_IMX6SX) += mach-imx6sx.o
  66. obj-$(CONFIG_SOC_IMX6UL) += mach-imx6ul.o
  67. obj-$(CONFIG_SOC_IMX7D) += mach-imx7d.o
  68. ifeq ($(CONFIG_SUSPEND),y)
  69. AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
  70. obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
  71. obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
  72. endif
  73. obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
  74. obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
  75. obj-$(CONFIG_SOC_IMX50) += mach-imx50.o
  76. obj-$(CONFIG_SOC_IMX51) += mach-imx51.o
  77. obj-$(CONFIG_SOC_IMX53) += mach-imx53.o
  78. obj-$(CONFIG_SOC_VF610) += mach-vf610.o
  79. obj-$(CONFIG_SOC_LS1021A) += mach-ls1021a.o
  80. obj-y += devices/