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