]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
Fix arch/i386/power/Makefile.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 22 Nov 2007 14:18:20 +0000 (14:18 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 22 Nov 2007 14:18:20 +0000 (14:18 +0000)
For being able to build native with CONFIG_APM=3Dm, this small
adjustment is needed.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
arch/i386/power/Makefile

index e74fee667301c57559bcdc8a9bce26081c0602f2..34e7098105055d720939d80576046f79d05e61ab 100644 (file)
@@ -1,4 +1,4 @@
-obj-$(CONFIG_PM_LEGACY)                += cpu.o
+obj-$(subst m,y,$(CONFIG_APM)) += cpu.o
 obj-$(CONFIG_SOFTWARE_SUSPEND) += cpu.o
 obj-$(CONFIG_ACPI_SLEEP)       += cpu.o
 obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o