Alan Maguire | 9fe124b | 2020-01-06 22:28:22 +0000 | [diff] [blame] | 1 | obj-$(CONFIG_KUNIT) += kunit.o |
| 2 | |
| 3 | kunit-objs += test.o \ |
Brendan Higgins | 6b229e5 | 2019-09-23 02:02:34 -0700 | [diff] [blame] | 4 | string-stream.o \ |
Brendan Higgins | 5f3e062 | 2019-09-23 02:02:39 -0700 | [diff] [blame] | 5 | assert.o \ |
| 6 | try-catch.o |
Brendan Higgins | d8e2a76 | 2019-09-23 02:02:37 -0700 | [diff] [blame] | 7 | |
Alan Maguire | e2219db | 2020-03-26 14:25:07 +0000 | [diff] [blame] | 8 | ifeq ($(CONFIG_KUNIT_DEBUGFS),y) |
| 9 | kunit-objs += debugfs.o |
| 10 | endif |
| 11 | |
Alan Maguire | c475c77 | 2020-01-06 22:28:20 +0000 | [diff] [blame] | 12 | obj-$(CONFIG_KUNIT_TEST) += kunit-test.o |
Brendan Higgins | d8e2a76 | 2019-09-23 02:02:37 -0700 | [diff] [blame] | 13 | |
Alan Maguire | c475c77 | 2020-01-06 22:28:20 +0000 | [diff] [blame] | 14 | # string-stream-test compiles built-in only. |
| 15 | ifeq ($(CONFIG_KUNIT_TEST),y) |
| 16 | obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o |
| 17 | endif |
| 18 | |
| 19 | obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o |