Explorar o código

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>
Masahiro Yamada %!s(int64=6) %!d(string=hai) anos
pai
achega
5318321d36
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      samples/Kconfig

+ 1 - 0
samples/Kconfig

@@ -1,5 +1,6 @@
 menuconfig SAMPLES
 menuconfig SAMPLES
 	bool "Sample kernel code"
 	bool "Sample kernel code"
+	depends on !UML
 	help
 	help
 	  You can build and test sample kernel code here.
 	  You can build and test sample kernel code here.