xref: /openbmc/linux/lib/kunit/Makefile (revision c475c77d)
1d1fadef1SBrendan Higginsobj-$(CONFIG_KUNIT) +=			test.o \
26b229e59SBrendan Higgins					string-stream.o \
35f3e0620SBrendan Higgins					assert.o \
45f3e0620SBrendan Higgins					try-catch.o
5d8e2a76bSBrendan Higgins
6c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_TEST) +=		kunit-test.o
7d8e2a76bSBrendan Higgins
8c475c77dSAlan Maguire# string-stream-test compiles built-in only.
9c475c77dSAlan Maguireifeq ($(CONFIG_KUNIT_TEST),y)
10c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_TEST) +=		string-stream-test.o
11c475c77dSAlan Maguireendif
12c475c77dSAlan Maguire
13c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_EXAMPLE_TEST) +=	kunit-example-test.o
14