diff options
author | Peter De Schrijver <pdeschrijver@nvidia.com> | 2012-02-23 11:21:52 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-26 17:02:17 -0500 |
commit | 64092d8f34774429a2519622e5cf0ca63b1ba517 (patch) | |
tree | f9a0149b22d78dfe370536eb9a9a74d3a3493ce9 /arch | |
parent | 22b8b85d902b0ff4dffb281303ea5bb0369c17aa (diff) |
ARM: tegra: Avoid compiling cpuidle code when not configured
No need to compile cpuidle.c and sleep.S if cpuidle isn't configured in the
kernel.
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/Makefile b/arch/arm/mach-tegra/Makefile index 0a5bc47afbf5..fc4ebe35f484 100644 --- a/arch/arm/mach-tegra/Makefile +++ b/arch/arm/mach-tegra/Makefile | |||
@@ -7,8 +7,8 @@ obj-y += clock.o | |||
7 | obj-y += timer.o | 7 | obj-y += timer.o |
8 | obj-y += pinmux.o | 8 | obj-y += pinmux.o |
9 | obj-y += fuse.o | 9 | obj-y += fuse.o |
10 | obj-y += cpuidle.o | 10 | obj-$(CONFIG_CPU_IDLE) += cpuidle.o |
11 | obj-y += sleep.o | 11 | obj-$(CONFIG_CPU_IDLE) += sleep.o |
12 | obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += powergate.o | 12 | obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += powergate.o |
13 | obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_clocks.o | 13 | obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_clocks.o |
14 | obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_emc.o | 14 | obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_emc.o |