Makefile (a940daa52167e9db8ecce82213813b735a9d9f23) Makefile (d03c720e03bd9bf0b784d80b5d3ede7e2daf3b6e)
1obj-$(CONFIG_KUNIT) += kunit.o
2
3kunit-objs += test.o \
4 resource.o \
5 static_stub.o \
6 string-stream.o \
7 assert.o \
8 try-catch.o \
9 executor.o \
1obj-$(CONFIG_KUNIT) += kunit.o
2
3kunit-objs += test.o \
4 resource.o \
5 static_stub.o \
6 string-stream.o \
7 assert.o \
8 try-catch.o \
9 executor.o \
10 attributes.o
10 attributes.o \
11 device.o
11
12ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
13kunit-objs += debugfs.o
14endif
15
16# KUnit 'hooks' are built-in even when KUnit is built as a module.
17obj-y += hooks.o
18
19obj-$(CONFIG_KUNIT_TEST) += kunit-test.o
20
21# string-stream-test compiles built-in only.
22ifeq ($(CONFIG_KUNIT_TEST),y)
23obj-$(CONFIG_KUNIT_TEST) += string-stream-test.o
24endif
25
26obj-$(CONFIG_KUNIT_EXAMPLE_TEST) += kunit-example-test.o
12
13ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
14kunit-objs += debugfs.o
15endif
16
17# KUnit 'hooks' are built-in even when KUnit is built as a module.
18obj-y += hooks.o
19
20obj-$(CONFIG_KUNIT_TEST) += kunit-test.o
21
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