Skip to content

Commit 2ad7126

Browse files
committed
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 <[email protected]> Reviewed-by: Nicolas Schier <[email protected]>
1 parent e2c3182 commit 2ad7126

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/package/mkdebian

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ cat <<EOF >> debian/control
245245
Package: linux-image-$version-dbg
246246
Section: debug
247247
Architecture: $debarch
248+
Build-Profiles: <!pkg.${sourcename}.nokerneldbg>
248249
Description: Linux kernel debugging symbols for $version
249250
This package will come in handy if you need to debug the kernel. It provides
250251
all the necessary debug symbols for the kernel and its modules.

0 commit comments

Comments
 (0)