i386: move kernel/acpi
[firefly-linux-kernel-4.4.55.git] / arch / x86_64 / kernel / acpi / Makefile
index c24fe95b0d941296df37818751db9fe3d01da67f..dd4eb7cef2b4c7d6b389f7425a9ba764467f0bda 100644 (file)
@@ -1,9 +1,5 @@
-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
+ifeq ($(CONFIG_X86_32),y)
+include ${srctree}/arch/x86/kernel/acpi/Makefile_32
+else
+include ${srctree}/arch/x86_64/kernel/acpi/Makefile_64
 endif
-