public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/1] builddeb: introduce profile excluding the dbg pkg
@ 2023-03-13  9:41 Bastian Germann
  2023-03-13  9:41 ` [PATCH v3 1/1] " Bastian Germann
  2023-03-13 10:27 ` [PATCH v3 0/1] " Bastian Germann
  0 siblings, 2 replies; 3+ messages in thread
From: Bastian Germann @ 2023-03-13  9:41 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Bastian Germann, Nathan Chancellor, Nick Desaulniers,
	linux-kbuild, linux-kernel

Introduce a Debian build profile to exclude the massive debug package
during build. This was sent the first time as part of a patch series:
<20210411101422.7092-6-bage@linutronix.de>

Most of the patch series is included in the current work on mkdebian
but this is still missing.

A basic test showing better timing.
It is expected that the relative diff will be greater with more symbols:

make tinyconfig
# Enable CONFIG_DEBUG_INFO
time make deb-pkg
real    5m31,104s
user    4m30,960s
sys     0m46,296s

make clean
time make DPKG_FLAGS=--build-profiles=pkg.linux-upstream.nokerneldbg deb-pkg
real    5m28,076s
user    4m25,129s
sys     0m45,489s

Changelog:
v2:
 * Align the profile name with the one that ended up in Debian.
v3:
 * Prevent the creation of the dbg package when profile is set

Bastian Germann (1):
  builddeb: introduce profile excluding the dbg pkg

 scripts/package/builddeb | 4 +++-
 scripts/package/mkdebian | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-13 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-13  9:41 [PATCH v3 0/1] builddeb: introduce profile excluding the dbg pkg Bastian Germann
2023-03-13  9:41 ` [PATCH v3 1/1] " Bastian Germann
2023-03-13 10:27 ` [PATCH v3 0/1] " Bastian Germann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox