Merge tag 'percpu-for-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis...
[linux-2.6-block.git] / lib / kunit / Makefile
CommitLineData
9fe124bf
AM
1obj-$(CONFIG_KUNIT) += kunit.o
2
3kunit-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
13ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
14kunit-objs += debugfs.o
15endif
16
7170b7ed 17# KUnit 'hooks' are built-in even when KUnit is built as a module.
32ff6831 18obj-y += hooks.o
7170b7ed 19
c475c77d 20obj-$(CONFIG_KUNIT_TEST) += kunit-test.o
d8e2a76b 21
c475c77d
AM
22# string-stream-test compiles built-in only.
23ifeq ($(CONFIG_KUNIT_TEST),y)
24obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o
25endif
26
27obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o