Makefile 416 字节
Newer Older
1 2 3
obj-$(CONFIG_KUNIT) +=			kunit.o

kunit-objs +=				test.o \
4
					string-stream.o \
5 6
					assert.o \
					try-catch.o
B
Brendan Higgins 已提交
7

8 9 10 11
ifeq ($(CONFIG_KUNIT_DEBUGFS),y)
kunit-objs +=				debugfs.o
endif

12
obj-$(CONFIG_KUNIT_TEST) +=		kunit-test.o
B
Brendan Higgins 已提交
13

14 15 16 17 18 19
# string-stream-test compiles built-in only.
ifeq ($(CONFIG_KUNIT_TEST),y)
obj-$(CONFIG_KUNIT_TEST) +=		string-stream-test.o
endif

obj-$(CONFIG_KUNIT_EXAMPLE_TEST) +=	kunit-example-test.o