diff options
Diffstat (limited to 'arch/arm/mach-tegra/Makefile')
-rw-r--r-- | arch/arm/mach-tegra/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile index 53be7130d97c..0cc916537520 100644 --- a/arch/arm/mach-tegra/Makefile +++ b/arch/arm/mach-tegra/Makefile @@ -28,7 +28,7 @@ obj-y += common-t2.o obj-y += pm-t2.o obj-y += sleep-t2.o obj-y += timer-t2.o -obj-y += wakeups-t2.o +obj-$(CONFIG_PM_SLEEP) += wakeups-t2.o ifeq ($(CONFIG_CPU_IDLE),y) obj-$(CONFIG_PM_SLEEP) += cpuidle-t2.o endif @@ -40,9 +40,9 @@ obj-$(CONFIG_DEBUG_FS) += clocks_stats.o obj-y += timer-t3.o obj-y += tegra_core_volt_cap.o ifeq ($(CONFIG_ARCH_TEGRA_3x_SOC),y) -obj-y += wakeups-t3.o +obj-$(CONFIG_PM_SLEEP) += wakeups-t3.o else -obj-y += wakeups-t11x.o +obj-$(CONFIG_PM_SLEEP) += wakeups-t11x.o endif ifeq ($(CONFIG_CPU_IDLE),y) ifeq ($(CONFIG_ARCH_TEGRA_3x_SOC),y) |