summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2012-04-30 16:23:56 -0700
committerVarun Colbert <vcolbert@nvidia.com>2012-05-01 17:01:50 -0700
commit828c895ed9e74bffdb55a18d6a010350a4dd7c50 (patch)
tree88b14a3ccc65b7a9930243b429c052a2bcc90a5f
parentce8006db5ef53f32d0ce0d4f65f5537b3fb320ee (diff)
ARM: tegra: fix build for smc with 4.6 toolchain
Signed-off-by: Dima Zavin <dima@android.com> Change-Id: I4df683fc99194cb6dc58ed231ef6f22c6cb321e9 Reviewed-on: http://git-master/r/99741 Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com> Tested-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile
index 96d4667a51be..21d43a7096ce 100644
--- a/arch/arm/mach-tegra/Makefile
+++ b/arch/arm/mach-tegra/Makefile
@@ -28,7 +28,13 @@ obj-y += pm.o
obj-$(CONFIG_TEGRA_WDT_RECOVERY) += wdt-recovery.o
obj-$(CONFIG_PM_SLEEP) += pm-irq.o
obj-y += gic.o
+
+
obj-y += sleep.o
+
+plus_sec := $(call as-instr,.arch_extension sec,+sec)
+AFLAGS_sleep.o :=-Wa,-march=armv7-a$(plus_sec)
+
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += sleep-t2.o
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += sleep-t3.o
obj-y += fuse.o