diff options
author | Brendan Higgins <brendanhiggins@google.com> | 2019-09-23 12:02:36 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-10-01 02:35:00 +0300 |
commit | 84bc809eecf37f3bd3ee7d2002b2528787a11cb1 (patch) | |
tree | 9158ff95b8d5fc5aec113e0e5be933ac07d22c0a /lib/Makefile | |
parent | 73cda7bb8bfb1d4be0325d76172950ede1a65fd0 (diff) | |
download | linux-84bc809eecf37f3bd3ee7d2002b2528787a11cb1.tar.xz |
lib: enable building KUnit in lib/
KUnit is a new unit testing framework for the kernel and when used is
built into the kernel as a part of it. Add KUnit to the lib Kconfig and
Makefile to allow it to be actually built.
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Kees Cook <keescook@chromium.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index c5892807e06f..bba1fd5485f7 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -92,6 +92,8 @@ obj-$(CONFIG_TEST_MEMINIT) += test_meminit.o obj-$(CONFIG_TEST_LIVEPATCH) += livepatch/ +obj-$(CONFIG_KUNIT) += kunit/ + ifeq ($(CONFIG_DEBUG_KOBJECT),y) CFLAGS_kobject.o += -DDEBUG CFLAGS_kobject_uevent.o += -DDEBUG |