summaryrefslogtreecommitdiff
path: root/src/ec/smsc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/smsc')
-rw-r--r--src/ec/smsc/Makefile.inc1
-rw-r--r--src/ec/smsc/mec1308/Makefile.inc4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ec/smsc/Makefile.inc b/src/ec/smsc/Makefile.inc
deleted file mode 100644
index 3dd9cce440..0000000000
--- a/src/ec/smsc/Makefile.inc
+++ /dev/null
@@ -1 +0,0 @@
-subdirs-$(CONFIG_EC_SMSC_MEC1308) += mec1308
diff --git a/src/ec/smsc/mec1308/Makefile.inc b/src/ec/smsc/mec1308/Makefile.inc
index 0accda3f55..c45f65dcd8 100644
--- a/src/ec/smsc/mec1308/Makefile.inc
+++ b/src/ec/smsc/mec1308/Makefile.inc
@@ -1,2 +1,6 @@
+ifeq ($(CONFIG_EC_SMSC_MEC1308),y)
+
ramstage-y += ec.c
smm-y += ec.c
+
+endif