1obj-$(CONFIG_KUNIT) += kunit.o 2 3kunit-objs += test.o \ 4 string-stream.o \ 5 assert.o \ 6 try-catch.o 7 8ifeq ($(CONFIG_KUNIT_DEBUGFS),y) 9kunit-objs += debugfs.o 10endif 11 12obj-$(CONFIG_KUNIT_TEST) += kunit-test.o 13 14# string-stream-test compiles built-in only. 15ifeq ($(CONFIG_KUNIT_TEST),y) 16obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o 17endif 18 19obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o 20