aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/kernel/acpi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/acpi/Makefile')
-rw-r--r--arch/x86_64/kernel/acpi/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/acpi/Makefile b/arch/x86_64/kernel/acpi/Makefile
index 17595d23fee7..080b9963f1bc 100644
--- a/arch/x86_64/kernel/acpi/Makefile
+++ b/arch/x86_64/kernel/acpi/Makefile
@@ -1,6 +1,6 @@
obj-y := boot.o
boot-y := ../../../i386/kernel/acpi/boot.o
-obj-y += sleep.o wakeup.o
+obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup.o
ifneq ($(CONFIG_ACPI_PROCESSOR),)
obj-y += processor.o