xref: /linux-6.14.4/lib/kunit/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1obj-$(CONFIG_KUNIT) +=			kunit.o
2
3kunit-objs +=				test.o \
4					resource.o \
5					user_alloc.o \
6					static_stub.o \
7					string-stream.o \
8					assert.o \
9					try-catch.o \
10					executor.o \
11					attributes.o \
12					device.o \
13					platform.o
14
15ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
16kunit-objs +=				debugfs.o
17endif
18
19# KUnit 'hooks' are built-in even when KUnit is built as a module.
20obj-y +=				hooks.o
21
22obj-$(CONFIG_KUNIT_TEST) +=		kunit-test.o
23obj-$(CONFIG_KUNIT_TEST) +=		platform-test.o
24
25# string-stream-test compiles built-in only.
26ifeq ($(CONFIG_KUNIT_TEST),y)
27obj-$(CONFIG_KUNIT_TEST) +=		string-stream-test.o
28obj-$(CONFIG_KUNIT_TEST) +=		assert_test.o
29endif
30
31obj-$(CONFIG_KUNIT_EXAMPLE_TEST) +=	kunit-example-test.o
32

served by {OpenGrok

Last Index Update: Mon Apr 28 06:57:04 CEST 2025