From: Masahiro Yamada Date: Tue, 18 Sep 2018 03:58:33 +0000 (+0900) Subject: samples: disable CONFIG_SAMPLES for UML X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5318321d367c21ca1fe9eb00caefc239c938750a;p=linux.git 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 Cc: David Howells Signed-off-by: Masahiro Yamada --- diff --git a/samples/Kconfig b/samples/Kconfig index bd133efc1a566..ad1ec7016d4c9 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.