[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAS0oiqBDT73O_O+S4vxU1LRO9UZLh5aJ+Wk+KwXNRojyw@mail.gmail.com>
Date: Tue, 9 Oct 2018 23:56:29 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>
Cc: Jeff Dike <jdike@...toit.com>, Richard Weinberger <richard@....at>,
linux-um@...ts.infradead.org, David Howells <dhowells@...hat.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Arnd Bergmann <arnd@...db.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andy Gross <andy.gross@...aro.org>,
Alex Williamson <alex.williamson@...hat.com>,
Gerd Hoffmann <kraxel@...hat.com>
Subject: Re: [PATCH] samples: disable CONFIG_SAMPLES for UML
On Tue, Sep 18, 2018 at 12:59 PM Masahiro Yamada
<yamada.masahiro@...ionext.com> wrote:
>
> 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@...omium.org>
> Cc: David Howells <dhowells@...hat.com>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> ---
I did not get any more comment.
I applied to linux-kbuild/fixes.
>
> samples/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/samples/Kconfig b/samples/Kconfig
> index bd133ef..ad1ec701 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.
>
> --
> 2.7.4
>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists