Merge tag 'locking-debug-2021-09-01' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / lib / kunit / Makefile
1 obj-$(CONFIG_KUNIT) +=                  kunit.o
2
3 kunit-objs +=                           test.o \
4                                         string-stream.o \
5                                         assert.o \
6                                         try-catch.o \
7                                         executor.o
8
9 ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
10 kunit-objs +=                           debugfs.o
11 endif
12
13 obj-$(CONFIG_KUNIT_TEST) +=             kunit-test.o
14
15 # string-stream-test compiles built-in only.
16 ifeq ($(CONFIG_KUNIT_TEST),y)
17 obj-$(CONFIG_KUNIT_TEST) +=             string-stream-test.o
18 endif
19
20 obj-$(CONFIG_KUNIT_EXAMPLE_TEST) +=     kunit-example-test.o