diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-09-18 05:58:33 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-10-10 19:15:46 +0200 |
commit | 5318321d367c21ca1fe9eb00caefc239c938750a (patch) | |
tree | 20d919244dc011d8abbd9aae795ac8f8149b7cc7 /samples | |
parent | kbuild: allow to use GCC toolchain not in Clang search path (diff) | |
download | linux-5318321d367c21ca1fe9eb00caefc239c938750a.tar.xz linux-5318321d367c21ca1fe9eb00caefc239c938750a.zip |
samples: disable CONFIG_SAMPLES for UML
Some samples require headers installation, so commit 3fca1700c4c3
("kbuild: make samples really depend on headers_install") added
such dependency in the top Makefile. However, UML fails to build
with CONFIG_SAMPLES=y because UML does not support headers_install.
Fixes: 3fca1700c4c3 ("kbuild: make samples really depend on headers_install")
Reported-by: Kees Cook <keescook@chromium.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig index bd133efc1a56..ad1ec7016d4c 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -1,5 +1,6 @@ menuconfig SAMPLES bool "Sample kernel code" + depends on !UML help You can build and test sample kernel code here. |