Merge branch 'bpf: Allow reads from uninit stack'
[linux-block.git] / lib / kunit / Makefile
1 obj-$(CONFIG_KUNIT) +=                  kunit.o
2
3 kunit-objs +=                           test.o \
4                                         resource.o \
5                                         static_stub.o \
6                                         string-stream.o \
7                                         assert.o \
8                                         try-catch.o \
9                                         executor.o
10
11 ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
12 kunit-objs +=                           debugfs.o
13 endif
14
15 # KUnit 'hooks' are built-in even when KUnit is built as a module.
16 obj-y +=                                hooks.o
17
18 obj-$(CONFIG_KUNIT_TEST) +=             kunit-test.o
19
20 # string-stream-test compiles built-in only.
21 ifeq ($(CONFIG_KUNIT_TEST),y)
22 obj-$(CONFIG_KUNIT_TEST) +=             string-stream-test.o
23 endif
24
25 obj-$(CONFIG_KUNIT_EXAMPLE_TEST) +=     kunit-example-test.o