summaryrefslogtreecommitdiff
path: root/lib/kunit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kunit/Makefile')
-rw-r--r--lib/kunit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kunit/Makefile b/lib/kunit/Makefile
index da665cd4ea12..cb417f504996 100644
--- a/lib/kunit/Makefile
+++ b/lib/kunit/Makefile
@@ -13,7 +13,7 @@ kunit-objs += debugfs.o
endif
# KUnit 'hooks' are built-in even when KUnit is built as a module.
-lib-y += hooks.o
+obj-y += hooks.o
obj-$(CONFIG_KUNIT_TEST) += kunit-test.o