summaryrefslogtreecommitdiff
path: root/src/ec/purism/librem-ec/Makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/purism/librem-ec/Makefile.mk')
-rw-r--r--src/ec/purism/librem-ec/Makefile.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ec/purism/librem-ec/Makefile.mk b/src/ec/purism/librem-ec/Makefile.mk
new file mode 100644
index 0000000000..464371f272
--- /dev/null
+++ b/src/ec/purism/librem-ec/Makefile.mk
@@ -0,0 +1,8 @@
+## SPDX-License-Identifier: GPL-2.0-only
+ifeq ($(CONFIG_EC_LIBREM_EC),y)
+
+all-y += ../../system76/ec/system76_ec.c
+all-y += librem_ec.c
+smm-$(CONFIG_DEBUG_SMI) += ../../system76/ec/system76_ec.c
+
+endif