Skip to contentSkip to conversation

fix arch/i386/power/Makefile

PATCH New Jan Beulich 1 participant 1 message Nov 22, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix arch/i386/power/Makefile

For being able to build native with CONFIG_APM=m, this small adjustment is needed (I'm afraid it was me who screwed it up quite a while back).

As usual, written and tested against 2.6.23 and made apply against 2.6.18 without further testing.

arch/i386/power/Makefile +1 -1
Index: sle10sp2-2007-11-14/arch/i386/power/Makefile
===================================================================
@@ -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