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

From: Rob Landley
Date: Thu Sep 12 2013 - 04:18:54 EST


On 09/11/2013 07:35:48 PM, Regid Ichira wrote:
Signed-off-by: Regid Ichira <regid23@xxxxxx>
---
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 <rob@xxxxxxxxxxx>

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--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/