Author: nbd
Date: 2015-11-18 13:38:56 +0100 (Wed, 18 Nov 2015)
New Revision: 47497

Modified:
   branches/chaos_calmer/scripts/diffconfig.sh
Log:
scripts/diffconfig.sh: reduce config output with CONFIG_BUSYBOX_CUSTOM

Use similar approach as r47461 to reduce output for busybox config.

Since r39435 CONFIG_BUSYBOX_CUSTOM=y has caused the addition of
all ~260 busybox config options to the diffconfig output even if
only one option has been changed.

This patch eliminates the unchanged busybox config options from the output
and leaves only the actually modified options.

Signed-off-by: Hannu Nyman <[email protected]>

Backport of r47463

Modified: branches/chaos_calmer/scripts/diffconfig.sh
===================================================================
--- branches/chaos_calmer/scripts/diffconfig.sh 2015-11-18 12:38:48 UTC (rev 
47496)
+++ branches/chaos_calmer/scripts/diffconfig.sh 2015-11-18 12:38:56 UTC (rev 
47497)
@@ -4,6 +4,7 @@
 grep '^CONFIG_ALL_KMODS=y' .config >> tmp/.diffconfig.head
 grep '^CONFIG_DEVEL=y' .config >> tmp/.diffconfig.head
 grep '^CONFIG_TOOLCHAINOPTS=y' .config >> tmp/.diffconfig.head
+grep '^CONFIG_BUSYBOX_CUSTOM=y' .config >> tmp/.diffconfig.head
 ./scripts/config/conf --defconfig=tmp/.diffconfig.head -w 
tmp/.diffconfig.stage1 Config.in >/dev/null
 ./scripts/kconfig.pl '>+' tmp/.diffconfig.stage1 .config >> 
tmp/.diffconfig.head
 ./scripts/config/conf --defconfig=tmp/.diffconfig.head -w 
tmp/.diffconfig.stage2 Config.in >/dev/null
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to