2013-09-12 00:35:56

by Regid Ichira

[permalink] [raw]
Subject: [PATCH] Documentation/kbuild/kconfig.txt: Doesn't make listnewconfig replacing yes "" | make oldconfig ?

Signed-off-by: Regid Ichira <[email protected]>
---
Documentation/kbuild/kconfig.txt | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/Documentation/kbuild/kconfig.txt b/Documentation/kbuild/kconfig.txt
index 8ef6dbb..14cc40c 100644
--- a/Documentation/kbuild/kconfig.txt
+++ b/Documentation/kbuild/kconfig.txt
@@ -20,16 +20,9 @@ symbols have been introduced.
To see a list of new config symbols when using "make oldconfig", use

cp user/some/old.config .config
- yes "" | make oldconfig >conf.new
+ make listnewconfig

-and the config program will list as (NEW) any new symbols that have
-unknown values. Of course, the .config file is also updated with
-new (default) values, so you can use:
-
- grep "(NEW)" conf.new
-
-to see the new config symbols or you can use diffconfig to see the
-differences between the previous and new .config files:
+and the config program will list any new symbols, one per line.

scripts/diffconfig .config.old .config | less

--
1.8.4.rc3


2013-09-12 08:18:49

by Rob Landley

[permalink] [raw]
Subject: Re: [PATCH] Documentation/kbuild/kconfig.txt: Doesn't make listnewconfig replacing yes "" | make oldconfig ?

On 09/11/2013 07:35:48 PM, Regid Ichira wrote:
> Signed-off-by: Regid Ichira <[email protected]>
> ---
> Documentation/kbuild/kconfig.txt | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)
>
> diff --git a/Documentation/kbuild/kconfig.txt
> b/Documentation/kbuild/kconfig.txt
> index 8ef6dbb..14cc40c 100644
> --- a/Documentation/kbuild/kconfig.txt
> +++ b/Documentation/kbuild/kconfig.txt
> @@ -20,16 +20,9 @@ symbols have been introduced.
> To see a list of new config symbols when using "make oldconfig", use
>
> cp user/some/old.config .config
> - yes "" | make oldconfig >conf.new
> + make listnewconfig
>
> -and the config program will list as (NEW) any new symbols that have
> -unknown values. Of course, the .config file is also updated with
> -new (default) values, so you can use:
> -
> - grep "(NEW)" conf.new
> -
> -to see the new config symbols or you can use diffconfig to see the
> -differences between the previous and new .config files:
> +and the config program will list any new symbols, one per line.
>
> scripts/diffconfig .config.old .config | less

Heh. I just make a miniconfig out of both of them and diff those, but
that got rejected when I tried to push it upstream circa 2006 and I've
just maintained it locally ever since...

Acked-by: Rob Landley <[email protected]>

I'll sit on this for a bit to see if the kbulid guys apply it first,
and if not forward it through the trivial tree.

Rob-

2013-09-12 21:40:37

by Yann E. MORIN

[permalink] [raw]
Subject: Re: [PATCH] Documentation/kbuild/kconfig.txt: Doesn't make listnewconfig replacing yes "" | make oldconfig ?

Regid, All,

On 2013-09-12 03:35 +0300, Regid Ichira spake thusly:
> Signed-off-by: Regid Ichira <[email protected]>

Acked-by: "Yann E. MORIN" <[email protected]>

> ---
> Documentation/kbuild/kconfig.txt | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)
>
> diff --git a/Documentation/kbuild/kconfig.txt b/Documentation/kbuild/kconfig.txt
> index 8ef6dbb..14cc40c 100644
> --- a/Documentation/kbuild/kconfig.txt
> +++ b/Documentation/kbuild/kconfig.txt
> @@ -20,16 +20,9 @@ symbols have been introduced.
> To see a list of new config symbols when using "make oldconfig", use
>
> cp user/some/old.config .config
> - yes "" | make oldconfig >conf.new
> + make listnewconfig
>
> -and the config program will list as (NEW) any new symbols that have
> -unknown values. Of course, the .config file is also updated with
> -new (default) values, so you can use:
> -
> - grep "(NEW)" conf.new
> -
> -to see the new config symbols or you can use diffconfig to see the
> -differences between the previous and new .config files:
> +and the config program will list any new symbols, one per line.
>
> scripts/diffconfig .config.old .config | less
>
> --
> 1.8.4.rc3
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'

2013-09-21 23:01:35

by Yann E. MORIN

[permalink] [raw]
Subject: Re: [PATCH] Documentation/kbuild/kconfig.txt: Doesn't make listnewconfig replacing yes "" | make oldconfig ?

Regid, All,

On 2013-09-12 03:35 +0300, Regid Ichira spake thusly:
> Signed-off-by: Regid Ichira <[email protected]>
> ---
> Documentation/kbuild/kconfig.txt | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)

There was a trailing whitespace. I fixed it here, and pulled it in my
tree for -next.

Thanks!

Regards,
Yann E. MORIN.

> diff --git a/Documentation/kbuild/kconfig.txt b/Documentation/kbuild/kconfig.txt
> index 8ef6dbb..14cc40c 100644
> --- a/Documentation/kbuild/kconfig.txt
> +++ b/Documentation/kbuild/kconfig.txt
> @@ -20,16 +20,9 @@ symbols have been introduced.
> To see a list of new config symbols when using "make oldconfig", use
>
> cp user/some/old.config .config
> - yes "" | make oldconfig >conf.new
> + make listnewconfig
trailing whitespace ---^

>
> -and the config program will list as (NEW) any new symbols that have
> -unknown values. Of course, the .config file is also updated with
> -new (default) values, so you can use:
> -
> - grep "(NEW)" conf.new
> -
> -to see the new config symbols or you can use diffconfig to see the
> -differences between the previous and new .config files:
> +and the config program will list any new symbols, one per line.
>
> scripts/diffconfig .config.old .config | less
>
> --
> 1.8.4.rc3
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'