summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/Makefile')
-rw-r--r--arch/arm/mach-tegra/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile
index a0f5fa80f6cc..fa897812f513 100644
--- a/arch/arm/mach-tegra/Makefile
+++ b/arch/arm/mach-tegra/Makefile
@@ -14,7 +14,10 @@ obj-y += pinmux.o
obj-y += delay.o
obj-y += pm.o
obj-$(CONFIG_PM_SLEEP) += pm-irq.o
-obj-$(CONFIG_PM_SLEEP) += sleep.o
+ifeq ($(CONFIG_PM_SLEEP),y)
+obj-y += sleep.o
+obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += sleep-t2.o
+endif
obj-y += fuse.o
obj-y += kfuse.o
obj-$(CONFIG_TEGRA_LEGACY_AUDIO) += tegra_i2s_audio.o