1

kbuild: deb-pkg: add pkg.linux-upstream.nokerneldbg build profile

The Debian kernel supports the pkg.linux.nokerneldbg build profile.

The debug package tends to become huge, and you may not want to build
it even when CONFIG_DEBUG_INFO is enabled.

This commit introduces a similar profile for the upstream kernel.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
This commit is contained in:
Masahiro Yamada 2024-10-23 03:16:59 +09:00
parent e2c318225a
commit 2ad7126c51

View File

@ -245,6 +245,7 @@ cat <<EOF >> debian/control
Package: linux-image-$version-dbg Package: linux-image-$version-dbg
Section: debug Section: debug
Architecture: $debarch Architecture: $debarch
Build-Profiles: <!pkg.${sourcename}.nokerneldbg>
Description: Linux kernel debugging symbols for $version Description: Linux kernel debugging symbols for $version
This package will come in handy if you need to debug the kernel. It provides This package will come in handy if you need to debug the kernel. It provides
all the necessary debug symbols for the kernel and its modules. all the necessary debug symbols for the kernel and its modules.