[Buildroot] [PATCH 3/3] New <pkg>-update-last-config-fragment target in pkg-kconfig.mk

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Aug 15 17:35:28 UTC 2018


Hello,

On Wed, 15 Aug 2018 18:16:57 +0200, Yann E. MORIN wrote:

> Indeed, it is not to be considered to be a diff of any of the fragment,
> but of the configuration *as a whole*.
> 
> That's why I initially did not write a full diff, but only the delta
> snippet, not the context, because it is a diff, not a patch.
> 
> But I think we should instead use the scripts/diffconfig script that is
> in the linux kernel tree, and which outputs looks like:
> 
>     $ cat config.000
>     CONFIG_FOO=y
>     $ cat config.001
>     CONFIG_FOO is not set
>     $ ./scripts/diffconfig config.000 config.001
>      FOO y -> n
> 
> which IMNSHO is exactly the message we want to convey.

Indeed, this looks very good, and diffconfig is an existing tool.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list