1 obj-$(CONFIG_KUNIT) += kunit. 1 obj-$(CONFIG_KUNIT) += kunit.o 2 2 3 kunit-objs += test.o 3 kunit-objs += test.o \ 4 resour 4 resource.o \ 5 user_a 5 user_alloc.o \ 6 static 6 static_stub.o \ 7 string 7 string-stream.o \ 8 assert 8 assert.o \ 9 try-ca 9 try-catch.o \ 10 execut 10 executor.o \ 11 attrib 11 attributes.o \ 12 device !! 12 device.o 13 platfo << 14 13 15 ifeq ($(CONFIG_KUNIT_DEBUGFS),y) 14 ifeq ($(CONFIG_KUNIT_DEBUGFS),y) 16 kunit-objs += debugf 15 kunit-objs += debugfs.o 17 endif 16 endif 18 17 19 # KUnit 'hooks' are built-in even when KUnit i 18 # KUnit 'hooks' are built-in even when KUnit is built as a module. 20 obj-y += hooks. 19 obj-y += hooks.o 21 20 22 obj-$(CONFIG_KUNIT_TEST) += kunit- 21 obj-$(CONFIG_KUNIT_TEST) += kunit-test.o 23 obj-$(CONFIG_KUNIT_TEST) += platfo << 24 22 25 # string-stream-test compiles built-in only. 23 # string-stream-test compiles built-in only. 26 ifeq ($(CONFIG_KUNIT_TEST),y) 24 ifeq ($(CONFIG_KUNIT_TEST),y) 27 obj-$(CONFIG_KUNIT_TEST) += string 25 obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o 28 obj-$(CONFIG_KUNIT_TEST) += assert 26 obj-$(CONFIG_KUNIT_TEST) += assert_test.o 29 endif 27 endif 30 28 31 obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit- 29 obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.