]> err.no Git - linux-2.6/commitdiff
i386: prepare shared kernel/acpi/Makefile
authorThomas Gleixner <tglx@linutronix.de>
Thu, 11 Oct 2007 09:13:19 +0000 (11:13 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Oct 2007 09:13:19 +0000 (11:13 +0200)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/i386/kernel/acpi/Makefile
arch/i386/kernel/acpi/Makefile_32 [new file with mode: 0644]

index a4852a2e9190c147f1faa66ac3ba271e9f3a8a6c..6e00bfeb59a9ac968e9339579f53941077372654 100644 (file)
@@ -1,10 +1,5 @@
-obj-$(CONFIG_ACPI)             += boot.o
-ifneq ($(CONFIG_PCI),)
-obj-$(CONFIG_X86_IO_APIC)      += earlyquirk_32.o
+ifeq ($(CONFIG_X86_32),y)
+include ${srctree}/arch/i386/kernel/acpi/Makefile_32
+else
+include ${srctree}/arch/x86_64/kernel/acpi/Makefile_64
 endif
-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/i386/kernel/acpi/Makefile_32 b/arch/i386/kernel/acpi/Makefile_32
new file mode 100644 (file)
index 0000000..a4852a2
--- /dev/null
@@ -0,0 +1,10 @@
+obj-$(CONFIG_ACPI)             += boot.o
+ifneq ($(CONFIG_PCI),)
+obj-$(CONFIG_X86_IO_APIC)      += earlyquirk_32.o
+endif
+obj-$(CONFIG_ACPI_SLEEP)       += sleep_32.o wakeup_32.o
+
+ifneq ($(CONFIG_ACPI_PROCESSOR),)
+obj-y                          += cstate.o processor.o
+endif
+