samples: disable CONFIG_SAMPLES for UML
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 18 Sep 2018 03:58:33 +0000 (12:58 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Oct 2018 17:15:46 +0000 (02:15 +0900)
commit5318321d367c21ca1fe9eb00caefc239c938750a
tree20d919244dc011d8abbd9aae795ac8f8149b7cc7
parentef8c4ed9db80261f397f0c0bf723684601ae3b52
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>
samples/Kconfig