i386: move kernel/acpi
[firefly-linux-kernel-4.4.55.git] / arch / x86_64 / kernel / acpi / Makefile
index 7da9ace890bd1337b8fba3d0da149d6a43378fed..dd4eb7cef2b4c7d6b389f7425a9ba764467f0bda 100644 (file)
@@ -1,3 +1,5 @@
-obj-y                  := boot.o
-boot-y                 := ../../../i386/kernel/acpi/boot.o
-obj-$(CONFIG_ACPI_SLEEP)       += sleep.o wakeup.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