summaryrefslogtreecommitdiff
path: root/src/ec/compal
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/compal')
-rw-r--r--src/ec/compal/Makefile.inc1
-rw-r--r--src/ec/compal/ene932/Makefile.inc4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ec/compal/Makefile.inc b/src/ec/compal/Makefile.inc
deleted file mode 100644
index ce75ca6339..0000000000
--- a/src/ec/compal/Makefile.inc
+++ /dev/null
@@ -1 +0,0 @@
-subdirs-$(CONFIG_EC_COMPAL_ENE932) += ene932
diff --git a/src/ec/compal/ene932/Makefile.inc b/src/ec/compal/ene932/Makefile.inc
index fb898bedb0..effe34cdda 100644
--- a/src/ec/compal/ene932/Makefile.inc
+++ b/src/ec/compal/ene932/Makefile.inc
@@ -1,3 +1,7 @@
+ifeq ($(CONFIG_EC_COMPAL_ENE932),y)
+
ramstage-y += ec.c
smm-y += ec.c
smm-y += ../../../lib/delay.c
+
+endif