Skip to content

Commit 5318321

Browse files
committed
samples: disable CONFIG_SAMPLES for UML
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>
1 parent ef8c4ed commit 5318321

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎samples/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
menuconfig SAMPLES
22
bool "Sample kernel code"
3+
depends on !UML
34
help
45
You can build and test sample kernel code here.
56

0 commit comments

Comments
 (0)