19fe124bfSAlan Maguireobj-$(CONFIG_KUNIT) += kunit.o 29fe124bfSAlan Maguire 39fe124bfSAlan Maguirekunit-objs += test.o \ 4cdebea69SDaniel Latypov resource.o \ 5e047c5eaSDavid Gow static_stub.o \ 66b229e59SBrendan Higgins string-stream.o \ 75f3e0620SBrendan Higgins assert.o \ 8aac35468SAlan Maguire try-catch.o \ 9aac35468SAlan Maguire executor.o 10d8e2a76bSBrendan Higgins 11e2219db2SAlan Maguireifeq ($(CONFIG_KUNIT_DEBUGFS),y) 12e2219db2SAlan Maguirekunit-objs += debugfs.o 13e2219db2SAlan Maguireendif 14e2219db2SAlan Maguire 157170b7edSDavid Gow# KUnit 'hooks' are built-in even when KUnit is built as a module. 16*32ff6831SDavid Gowobj-y += hooks.o 177170b7edSDavid Gow 18c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_TEST) += kunit-test.o 19d8e2a76bSBrendan Higgins 20c475c77dSAlan Maguire# string-stream-test compiles built-in only. 21c475c77dSAlan Maguireifeq ($(CONFIG_KUNIT_TEST),y) 22c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_TEST) += string-stream-test.o 23c475c77dSAlan Maguireendif 24c475c77dSAlan Maguire 25c475c77dSAlan Maguireobj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o 26