aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/Makefile
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-01-04 17:43:36 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-01-26 10:07:56 -0500
commit533462fba545d271e087c3c632cf62ff04808e40 (patch)
tree74c54d673e7dbba98755a5e59ae792cecda94424 /arch/arm/mach-pxa/Makefile
parentf79299ca85f6f8c8817bc38494f7caa0a7043c3b (diff)
[ARM] pxa: omit PXA25x or PXA27x standby/sleep code as appropriate
There's no point building standby/sleep code for processors which aren't configured. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/Makefile')
-rw-r--r--arch/arm/mach-pxa/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile
index db18c8de7d55..f7444c7a9227 100644
--- a/arch/arm/mach-pxa/Makefile
+++ b/arch/arm/mach-pxa/Makefile
@@ -41,14 +41,10 @@ led-$(CONFIG_MACH_TRIZEPS4) += leds-trizeps4.o
41obj-$(CONFIG_LEDS) += $(led-y) 41obj-$(CONFIG_LEDS) += $(led-y)
42 42
43# Misc features 43# Misc features
44obj-$(CONFIG_PM) += pm.o sleep.o 44obj-$(CONFIG_PM) += pm.o sleep.o standby.o
45obj-$(CONFIG_CPU_FREQ) += cpu-pxa.o 45obj-$(CONFIG_CPU_FREQ) += cpu-pxa.o
46obj-$(CONFIG_PXA_SSP) += ssp.o 46obj-$(CONFIG_PXA_SSP) += ssp.o
47 47
48ifeq ($(CONFIG_PXA27x),y)
49obj-$(CONFIG_PM) += standby.o
50endif
51
52ifeq ($(CONFIG_PCI),y) 48ifeq ($(CONFIG_PCI),y)
53obj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o 49obj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o
54endif 50endif