Only add EC code if EC is selected in Kconfig

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6305 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/ec/Makefile.inc b/src/ec/Makefile.inc
index 20d71ab..37ee6df 100644
--- a/src/ec/Makefile.inc
+++ b/src/ec/Makefile.inc
@@ -1 +1 @@
-subdirs-y += acpi
+subdirs-$(CONFIG_EC_ACPI) += acpi