[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250211-holistic-gentle-moth-c90edb@l-nschier-z2>
Date: Tue, 11 Feb 2025 08:48:32 +0100
From: Nicolas Schier <n.schier@....de>
To: Mickaël Salaün <mic@...ikod.net>
Cc: linux-kbuild@...r.kernel.org, linux-um@...ts.infradead.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Günther Noack <gnoack@...gle.com>,
Anton Ivanov <anton.ivanov@...bridgegreys.com>,
Johannes Berg <johannes@...solutions.net>,
Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Richard Weinberger <richard@....at>,
Nicolas Schier <nicolas@...sle.eu>
Subject: Re: [PATCH v1] kbuild: Allow building of samples with UML
On Wed, Dec 18, 2024 at 12:51:23PM +0100, Mickaël Salaün wrote:
> It's useful to build samples/* with UML and the only blocker is the
> artificial incompatibility with CONFIG_HEADERS_INSTALL.
>
> Allow the headers_install target with ARCH=um, which then allow building
> samples (and tests using them) with UML too:
>
> printf 'CONFIG_SAMPLES=y\nCONFIG_HEADERS_INSTALL=y\nCONFIG_SAMPLE_LANDLOCK=y\n' >.config
> make ARCH=um olddefconfig headers_install
> make ARCH=um samples/landlock/
>
> Cc: Anton Ivanov <anton.ivanov@...bridgegreys.com>
> Cc: Johannes Berg <johannes@...solutions.net>
> Cc: Masahiro Yamada <masahiroy@...nel.org>
> Cc: Nathan Chancellor <nathan@...nel.org>
> Cc: Nicolas Schier <nicolas@...sle.eu>
> Cc: Richard Weinberger <richard@....at>
> Fixes: 1b620d539ccc ("kbuild: disable header exports for UML in a straightforward way")
> Signed-off-by: Mickaël Salaün <mic@...ikod.net>
> ---
> Makefile | 1 -
> lib/Kconfig.debug | 1 -
> 2 files changed, 2 deletions(-)
>
Thanks, looks good to me.
Reviewed-by: Nicolas Schier <n.schier@....de>
Powered by blists - more mailing lists