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