]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: Unify arch/x86/kernel/acpi Makefiles
authorThomas Gleixner <tglx@linutronix.de>
Tue, 23 Oct 2007 20:37:23 +0000 (22:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 23 Oct 2007 20:37:23 +0000 (22:37 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/Makefile
arch/x86/kernel/acpi/Makefile_32 [deleted file]
arch/x86/kernel/acpi/Makefile_64 [deleted file]

index 3d5671939542a0f6a9c07256d4486ead7d6646a0..1351c3982ee4ee296df1787bdbecc4d6cc815022 100644 (file)
@@ -1,5 +1,7 @@
-ifeq ($(CONFIG_X86_32),y)
-include ${srctree}/arch/x86/kernel/acpi/Makefile_32
-else
-include ${srctree}/arch/x86/kernel/acpi/Makefile_64
+obj-$(CONFIG_ACPI)             += boot.o
+obj-$(CONFIG_ACPI_SLEEP)       += sleep_$(BITS).o wakeup_$(BITS).o
+
+ifneq ($(CONFIG_ACPI_PROCESSOR),)
+obj-y                          += cstate.o processor.o
 endif
+
diff --git a/arch/x86/kernel/acpi/Makefile_32 b/arch/x86/kernel/acpi/Makefile_32
deleted file mode 100644 (file)
index 045dd54..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-obj-$(CONFIG_ACPI)             += boot.o
-obj-$(CONFIG_ACPI_SLEEP)       += sleep_32.o wakeup_32.o
-
-ifneq ($(CONFIG_ACPI_PROCESSOR),)
-obj-y                          += cstate.o processor.o
-endif
-
diff --git a/arch/x86/kernel/acpi/Makefile_64 b/arch/x86/kernel/acpi/Makefile_64
deleted file mode 100644 (file)
index 629425b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-obj-y                  := boot.o
-obj-$(CONFIG_ACPI_SLEEP)       += sleep_64.o wakeup_64.o
-
-ifneq ($(CONFIG_ACPI_PROCESSOR),)
-obj-y                  += processor.o cstate.o
-endif
-