Re: [PATCH 2/5] kbuild: deb-pkg: make debian/rules quiet by default
From: Masahiro Yamada
Date: Tue Jan 09 2024 - 09:47:32 EST
On Tue, Jan 9, 2024 at 11:14 PM Nicolas Schier <nicolas@xxxxxxxxx> wrote:
>
> On Sat, Dec 30, 2023 at 10:51:57PM +0900, Masahiro Yamada wrote:
> > Add $(Q) to commands in debian/rules to make them quiet when the package
> > built is initiated by 'make deb-pkg'.
> >
> > While the commands in debian/rules are not hidden when you directly work
> > with the debianized tree, you can set 'terse' to DEB_BUILD_OPTIONS to
> > silence them.
>
> Reading Debian Policy §4.9 [1] I'd expected some fiddling with V=1 or
> 'make -s', but I am ok with the simple '@' silencing (which matches my
> personal preference).
Hmm, you are right.
Maybe, we should follow what the Debian kernel does.
Debian kernel sets KBUILD_VERBOSE=1 unless
'terse' is given.
https://salsa.debian.org/kernel-team/linux/-/blob/debian/6.7-1_exp1/debian/rules.real#L36
>
> Reviewed-by: Nicolas Schier <n.schier@xxxxxx>
--
Best Regards
Masahiro Yamada