x86_64: prepare shared kernel/acpi/Makefile
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
08c81f47fc
commit
f11cfb424c
|
@ -1,9 +1,5 @@
|
||||||
obj-y := boot.o
|
ifeq ($(CONFIG_X86_32),y)
|
||||||
boot-y := ../../../i386/kernel/acpi/boot.o
|
include ${srctree}/arch/i386/kernel/acpi/Makefile_32
|
||||||
obj-$(CONFIG_ACPI_SLEEP) += sleep_64.o wakeup_64.o
|
else
|
||||||
|
include ${srctree}/arch/x86_64/kernel/acpi/Makefile_64
|
||||||
ifneq ($(CONFIG_ACPI_PROCESSOR),)
|
|
||||||
obj-y += processor.o
|
|
||||||
processor-y := ../../../i386/kernel/acpi/processor.o ../../../i386/kernel/acpi/cstate.o
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
obj-y := boot.o
|
||||||
|
boot-y := ../../../i386/kernel/acpi/boot.o
|
||||||
|
obj-$(CONFIG_ACPI_SLEEP) += sleep_64.o wakeup_64.o
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_ACPI_PROCESSOR),)
|
||||||
|
obj-y += processor.o
|
||||||
|
processor-y := ../../../i386/kernel/acpi/processor.o ../../../i386/kernel/acpi/cstate.o
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in New Issue