From: Bastian Germann <bage@xxxxxxxxxxxxx> Enabling CONFIG_DEBUG_INFO implies building the binary linux-image-*-dbg. As this increases package build time significantly, one might want to exclude it from being built. Add a pkg.$sourcename.nodbg build profile for that package so it can be excluded via e.g.: `make DPKG_FLAGS="-P=pkg.linux-upstream.nodbg" deb-pkg` Link: https://wiki.debian.org/BuildProfileSpec Signed-off-by: Bastian Germann <bage@xxxxxxxxxxxxx> --- scripts/package/mkdebian | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian index 9470581d8c75..2e95966fe4dd 100755 --- a/scripts/package/mkdebian +++ b/scripts/package/mkdebian @@ -212,6 +212,7 @@ if is_enabled CONFIG_DEBUG_INFO; then cat <<EOF >> debian/control Package: linux-image-$version-dbg +Build-Profiles: <!pkg.$sourcename.nodbg> Section: debug Architecture: $debarch Description: Linux kernel debugging symbols for $version -- 2.30.2