[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aSNvz2rzpt2PE9t8@levanger>
Date: Sun, 23 Nov 2025 21:34:23 +0100
From: Nicolas Schier <nsc@...nel.org>
To: Marc Zyngier <maz@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
Nathan Chancellor <nathan@...nel.org>
Subject: Re: [PATCH] kbuild: deb-pkg: Allow packages to be excluded from
bindeb-pkg
On Sun, Nov 23, 2025 at 06:36:47PM +0000, Marc Zyngier wrote:
> The bindeb-pkg target generates a number of individual packages:
> the kernel package itself, the debug package, the kernel and libc
> header packages.
>
> It is at times useful to not generate all the packages, such as
> the debug package, even if the kernel configuration has CONFIG_DEBUG.
>
> For this purpose, let the user provide a DEB_EXCLUDE_PKG environment
> variable that can contain exclusion patterns for some of the build
> artefacts. This saves precious cycles when repeatedly building packages
> for testing purposes, where not all packages are strictly necessary.
>
> The default behaviour, with no variable defined, is of course unchanged.
>
> Signed-off-by: Marc Zyngier <maz@...nel.org>
> ---
thanks for your suggestion. Could you please check whether the usual
Debian build profiles are sufficient for your needs, e.g.:
DEB_BUILD_PROFILES="pkg.linux-upstream.nokernelheaders pkg.linux-upstream.nokerneldbg" make bindeb-pkg
I do like that we have the Debian build profiles [1] mechanism here, and
would rather extend it, if neccessary, instead of implementing a
different approach additionally.
Kind regards,
Nicolas
[1]: https://wiki.debian.org/BuildProfileSpec
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists