xref: /openbmc/linux/lib/kunit/Makefile (revision 9fe124bf)
19fe124bfSAlan Maguireobj-$(CONFIG_KUNIT) +=			kunit.o
29fe124bfSAlan Maguire
39fe124bfSAlan Maguirekunit-objs +=				test.o \
46b229e59SBrendan Higgins					string-stream.o \
55f3e0620SBrendan Higgins					assert.o \
65f3e0620SBrendan Higgins					try-catch.o
7d8e2a76bSBrendan Higgins
8c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_TEST) +=		kunit-test.o
9d8e2a76bSBrendan Higgins
10c475c77dSAlan Maguire# string-stream-test compiles built-in only.
11c475c77dSAlan Maguireifeq ($(CONFIG_KUNIT_TEST),y)
12c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_TEST) +=		string-stream-test.o
13c475c77dSAlan Maguireendif
14c475c77dSAlan Maguire
15c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_EXAMPLE_TEST) +=	kunit-example-test.o
16