summaryrefslogtreecommitdiff
path: root/src/ec/kontron
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/kontron')
-rw-r--r--src/ec/kontron/Makefile.inc1
-rw-r--r--src/ec/kontron/it8516e/Makefile.inc4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ec/kontron/Makefile.inc b/src/ec/kontron/Makefile.inc
deleted file mode 100644
index 8c3b7c78f7..0000000000
--- a/src/ec/kontron/Makefile.inc
+++ /dev/null
@@ -1 +0,0 @@
-subdirs-$(CONFIG_EC_KONTRON_IT8516E) += it8516e
diff --git a/src/ec/kontron/it8516e/Makefile.inc b/src/ec/kontron/it8516e/Makefile.inc
index 1275cf3717..6ef87cd992 100644
--- a/src/ec/kontron/it8516e/Makefile.inc
+++ b/src/ec/kontron/it8516e/Makefile.inc
@@ -1 +1,5 @@
+ifeq ($(CONFIG_EC_KONTRON_IT8516E),y)
+
ramstage-y += ec.c
+
+endif