Messages in this thread | | | Subject | Re: [PATCH v2 -next] scripts: add compare-config utility | From | chenlifu <> | Date | Wed, 13 Apr 2022 17:23:07 +0800 |
| |
在 2022/4/13 0:51, Randy Dunlap 写道: > Hi-- > > On 4/12/22 01:30, Chen Lifu wrote: >> This is an alternative utility to compare two .config files. Unlike >> existing utilities "diffconfig" in the kernel tree, it prints detailed >> results in table style, and support config name prefix so that it can be >> used elsewhere. It is useful sometimes, for example, to analyze .config files >> through tables, or to compare Buildroot .config. >> >> With grep and awk, it can print similar results like "diffconfg" as well. >> >> Signed-off-by: Chen Lifu <chenlifu@huawei.com> > > Is your goal to have this merged into the kernel source tree? > If so, you should also send the patch the the kconfig maintainer and > mailing list. > > The output is quite verbose in its default mode (no options specified). > To get something useful, I use -C -O -N. > > For my uses and preferences, I would like to see a -D (e.g.) which > is just a combination of -CON. And it would be nice if that was the > default mode also. :) > >> --- >> Changes in v2: >> - Add config name prefix support >> >> scripts/compare-config | 201 +++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 201 insertions(+) >> create mode 100755 scripts/compare-config > > thanks. >
Hi, Randy, Thanks for your friendly comment, I will add -D option and set it as default mode.
Chen Lifu
| |