From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] utils/diffconfig: add diffconfig utility
Date: Sat, 25 Nov 2017 13:50:47 +0100 [thread overview]
Message-ID: <20171125135047.503d4fda@windsurf.lan> (raw)
In-Reply-To: <20171104203644.4045-1-marcus.folkesson@gmail.com>
Hello,
On Sat, 4 Nov 2017 21:36:44 +0100, Marcus Folkesson wrote:
> Diffconfig is a simple utility for comparing two configuration files.
> See usage in the script for more info.
>
> Borrowed from the Linux kernel source code and adapted to Buildroot.
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
> ---
> DEVELOPERS | 3 ++
> utils/diffconfig | 136 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 139 insertions(+)
> create mode 100755 utils/diffconfig
I've applied to next. However, I must say I've personally not be very
convinced by the output of this tool. If you generate the .config
corresponding to an empty defconfig on one side, and the following
defconfig on the other side:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2017.11-rc1.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_BELLAGIO=y
BR2_PACKAGE_FFMPEG=y
# BR2_TARGET_ROOTFS_TAR is not set
You will get a very, very, very noisy output with "diffconfig". And
comparately, the diff between the defconfigs is a lot more readable.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-11-25 12:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-04 20:36 [Buildroot] [PATCH] utils/diffconfig: add diffconfig utility Marcus Folkesson
2017-11-25 12:50 ` Thomas Petazzoni [this message]
2017-11-25 16:45 ` Arnout Vandecappelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171125135047.503d4fda@windsurf.lan \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox