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