summaryrefslogtreecommitdiffstats
path: root/lib/kunit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kunit/Makefile')
-rw-r--r--lib/kunit/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/kunit/Makefile b/lib/kunit/Makefile
index fab55649b69a..724b94311ca3 100644
--- a/lib/kunit/Makefile
+++ b/lib/kunit/Makefile
@@ -5,6 +5,10 @@ kunit-objs += test.o \
assert.o \
try-catch.o
+ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
+kunit-objs += debugfs.o
+endif
+
obj-$(CONFIG_KUNIT_TEST) += kunit-test.o
# string-stream-test compiles built-in only.