[Buildroot] [PATCH] Makefile: Remove KBUILD_VERBOSE and quiet

Cédric Marie cedric.marie at openmailbox.org
Fri Sep 11 07:52:07 UTC 2015


Hi,

I've just realized that this patch is breaking linux and busybox verbose 
mode.

Exporting KBUILD_VERBOSE makes it available for linux and busybox 
makefile. This makefile sets KBUILD_VERBOSE if V is set in the command 
line, but it also uses KBUILD_VERBOSE if exported by the shell.

In fact it seems that the original idea was to export all variables that 
could be understood by different build systems:
- KBUILD_VERBOSE for linux and busybox
- VERBOSE for CMake packages.

So, if we still want to handle verbosity in infrastructures (and some 
packages that use generic infrastructure) - and I think we should:
I think the right way to forward verbose mode to linux and busybox is to 
add V=1 in linux.mk and busybox.mk.

As a consequence, I believe it is not possible to split my patch into 
different steps.
The patch must:
- remove quiet
- remove KBUILD_VERBOSE
- use VERBOSE but in a different way (not exported), as already 
described
- handle VERBOSE in pkg-cmake.mk, pkg-autotools.mk, linux.mk, 
busybox.mk, and qt.mk (this one is possibly already correct).

If you agree, I will provide a single patch that will cancel the two 
previous ones (I will add patch version and log this time).

Regards,

-- 
Cédric



More information about the buildroot mailing list