lkml.org 
[lkml]   [2022]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 -next] scripts: add compare-config utility
From
Date


在 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

\
 
 \ /
  Last update: 2022-04-13 11:26    [W:0.055 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site