diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-01-04 17:43:36 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-01-26 10:07:56 -0500 |
commit | 533462fba545d271e087c3c632cf62ff04808e40 (patch) | |
tree | 74c54d673e7dbba98755a5e59ae792cecda94424 /arch/arm/mach-pxa/Makefile | |
parent | f79299ca85f6f8c8817bc38494f7caa0a7043c3b (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/Makefile | 6 |
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 | |||
41 | obj-$(CONFIG_LEDS) += $(led-y) | 41 | obj-$(CONFIG_LEDS) += $(led-y) |
42 | 42 | ||
43 | # Misc features | 43 | # Misc features |
44 | obj-$(CONFIG_PM) += pm.o sleep.o | 44 | obj-$(CONFIG_PM) += pm.o sleep.o standby.o |
45 | obj-$(CONFIG_CPU_FREQ) += cpu-pxa.o | 45 | obj-$(CONFIG_CPU_FREQ) += cpu-pxa.o |
46 | obj-$(CONFIG_PXA_SSP) += ssp.o | 46 | obj-$(CONFIG_PXA_SSP) += ssp.o |
47 | 47 | ||
48 | ifeq ($(CONFIG_PXA27x),y) | ||
49 | obj-$(CONFIG_PM) += standby.o | ||
50 | endif | ||
51 | |||
52 | ifeq ($(CONFIG_PCI),y) | 48 | ifeq ($(CONFIG_PCI),y) |
53 | obj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o | 49 | obj-$(CONFIG_MACH_ARMCORE) += cm-x270-pci.o |
54 | endif | 50 | endif |