Skip to content

Commit

Permalink
samples: disable CONFIG_SAMPLES for UML
Browse files Browse the repository at this point in the history
Some samples require headers installation, so commit 3fca170
("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: 3fca170 ("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>
  • Loading branch information
masahir0y committed Oct 10, 2018
1 parent ef8c4ed commit 5318321
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 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.

Expand Down

0 comments on commit 5318321

Please sign in to comment.