19fe124bfSAlan Maguireobj-$(CONFIG_KUNIT) += kunit.o 29fe124bfSAlan Maguire 39fe124bfSAlan Maguirekunit-objs += test.o \ 46b229e59SBrendan Higgins string-stream.o \ 55f3e0620SBrendan Higgins assert.o \ 6aac35468SAlan Maguire try-catch.o \ 7aac35468SAlan Maguire executor.o 8d8e2a76bSBrendan Higgins 9e2219db2SAlan Maguireifeq ($(CONFIG_KUNIT_DEBUGFS),y) 10e2219db2SAlan Maguirekunit-objs += debugfs.o 11e2219db2SAlan Maguireendif 12e2219db2SAlan Maguire 13c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_TEST) += kunit-test.o 14d8e2a76bSBrendan Higgins 15c475c77dSAlan Maguire# string-stream-test compiles built-in only. 16c475c77dSAlan Maguireifeq ($(CONFIG_KUNIT_TEST),y) 17c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_TEST) += string-stream-test.o 18c475c77dSAlan Maguireendif 19c475c77dSAlan Maguire 20c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o 21