summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/Makefile
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2012-03-02 15:58:32 -0500
committerOlof Johansson <olof@lixom.net>2012-03-04 11:17:10 -0800
commit249c5172e80acd211025da2e2cc1bd026b0ab8d4 (patch)
tree9ee6e660e80399c19aa06b72e294878a19708b07 /arch/arm/mach-tegra/Makefile
parent013df38857a6272c7e6bd99d3f298599a215e988 (diff)
downloadlinux-3.10-249c5172e80acd211025da2e2cc1bd026b0ab8d4.tar.gz
linux-3.10-249c5172e80acd211025da2e2cc1bd026b0ab8d4.tar.bz2
linux-3.10-249c5172e80acd211025da2e2cc1bd026b0ab8d4.zip
ARM: tegra: build localtimer support only when needed
It is possible to build a tegra kernel without localtimer support, so the tegra specific parts should only be built when that is indeed enabled. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-tegra/Makefile')
-rw-r--r--arch/arm/mach-tegra/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile
index e120ff54f66..829066fdc2a 100644
--- a/arch/arm/mach-tegra/Makefile
+++ b/arch/arm/mach-tegra/Makefile
@@ -13,7 +13,8 @@ obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_emc.o
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pinmux-tegra20-tables.o
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += pinmux-tegra30-tables.o
obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += board-dt-tegra30.o
-obj-$(CONFIG_SMP) += platsmp.o localtimer.o headsmp.o
+obj-$(CONFIG_SMP) += platsmp.o headsmp.o
+obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
obj-$(CONFIG_TEGRA_SYSTEM_DMA) += dma.o
obj-$(CONFIG_CPU_FREQ) += cpu-tegra.o