Commit | Line | Data |
---|---|---|
9fe124bf AM |
1 | obj-$(CONFIG_KUNIT) += kunit.o |
2 | ||
3 | kunit-objs += test.o \ | |
cdebea69 | 4 | resource.o \ |
e047c5ea | 5 | static_stub.o \ |
6b229e59 | 6 | string-stream.o \ |
5f3e0620 | 7 | assert.o \ |
aac35468 | 8 | try-catch.o \ |
39e92cb1 | 9 | executor.o \ |
d03c720e | 10 | attributes.o \ |
11 | device.o | |
d8e2a76b | 12 | |
e2219db2 AM |
13 | ifeq ($(CONFIG_KUNIT_DEBUGFS),y) |
14 | kunit-objs += debugfs.o | |
15 | endif | |
16 | ||
7170b7ed | 17 | # KUnit 'hooks' are built-in even when KUnit is built as a module. |
32ff6831 | 18 | obj-y += hooks.o |
7170b7ed | 19 | |
c475c77d | 20 | obj-$(CONFIG_KUNIT_TEST) += kunit-test.o |
d8e2a76b | 21 | |
c475c77d AM |
22 | # string-stream-test compiles built-in only. |
23 | ifeq ($(CONFIG_KUNIT_TEST),y) | |
24 | obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o | |
25 | endif | |
26 | ||
27 | obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o |