summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/Makefile
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-07-18 15:20:56 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-22 23:26:47 -0700
commit7e2740fde740350014c46617e8816da2be36ce3d (patch)
tree6823902f96ca7407f64335f2a60ad533faec6a6a /arch/arm/mach-tegra/Makefile
parenta5b84ef285300e27e7ccd6cd258ab8308346afc9 (diff)
ARM: tegra: Split sleep.S for Tegra2
Change-Id: I22bbfe62c6fed753a6852b12246f4a1f2414a96f Signed-off-by: Scott Williams <scwilliams@nvidia.com> DW: Split into logical changes Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R2d7985afe7ffafac651d747205e528331f5f993e
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