summaryrefslogtreecommitdiff
path: root/src/ec/acpi/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/acpi/Makefile.inc')
-rw-r--r--src/ec/acpi/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ec/acpi/Makefile.inc b/src/ec/acpi/Makefile.inc
index b39aaa2f94..efdd4b1e61 100644
--- a/src/ec/acpi/Makefile.inc
+++ b/src/ec/acpi/Makefile.inc
@@ -1,3 +1,7 @@
+ifeq ($(CONFIG_EC_ACPI),y)
+
ramstage-y += ec.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += ec.c
romstage-$(CONFIG_BOARD_LENOVO_X201) += ec.c
+
+endif