From 02848afae7829f158e84281c98fca1543f2ae9fa Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 22 Nov 2007 14:18:20 +0000 Subject: [PATCH] Fix arch/i386/power/Makefile. For being able to build native with CONFIG_APM=3Dm, this small adjustment is needed. Signed-off-by: Jan Beulich --- arch/i386/power/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/i386/power/Makefile b/arch/i386/power/Makefile index e74fee66..34e70981 100644 --- a/arch/i386/power/Makefile +++ b/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 -- 2.39.5