Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # SPDX-License-Identifier: GPL-2.0
  2. asflags-y += -march=armv7-a
  3. obj-y += io.o
  4. obj-y += irq.o
  5. obj-y += pm.o
  6. obj-y += reset.o
  7. obj-y += reset-handler.o
  8. obj-y += sleep.o
  9. obj-y += tegra.o
  10. obj-$(CONFIG_CPU_IDLE) += cpuidle.o
  11. obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += sleep-tegra20.o
  12. obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pm-tegra20.o
  13. ifeq ($(CONFIG_CPU_IDLE),y)
  14. obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += cpuidle-tegra20.o
  15. endif
  16. obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += sleep-tegra30.o
  17. obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += pm-tegra30.o
  18. ifeq ($(CONFIG_CPU_IDLE),y)
  19. obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += cpuidle-tegra30.o
  20. endif
  21. obj-$(CONFIG_SMP) += platsmp.o
  22. obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
  23. obj-$(CONFIG_ARCH_TEGRA_114_SOC) += sleep-tegra30.o
  24. obj-$(CONFIG_ARCH_TEGRA_114_SOC) += pm-tegra30.o
  25. ifeq ($(CONFIG_CPU_IDLE),y)
  26. obj-$(CONFIG_ARCH_TEGRA_114_SOC) += cpuidle-tegra114.o
  27. endif
  28. obj-$(CONFIG_ARCH_TEGRA_124_SOC) += sleep-tegra30.o
  29. obj-$(CONFIG_ARCH_TEGRA_124_SOC) += pm-tegra30.o
  30. ifeq ($(CONFIG_CPU_IDLE),y)
  31. obj-$(CONFIG_ARCH_TEGRA_124_SOC) += cpuidle-tegra114.o
  32. endif
  33. obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += board-paz00.o