scripts/diffconfig.sh: reduce config output with CONFIG_BUSYBOX_CUSTOM
authorFelix Fietkau <nbd@openwrt.org>
Wed, 18 Nov 2015 12:38:56 +0000 (12:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 18 Nov 2015 12:38:56 +0000 (12:38 +0000)
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 <hannu.nyman@iki.fi>
Backport of r47463

SVN-Revision: 47497

scripts/diffconfig.sh

index d26e9a963469dbee6b71bc3fecfd42e6cb1e47f2..f195d1849bdc75561b56303554bc993e5bc87d33 100755 (executable)
@@ -4,6 +4,7 @@ grep '^CONFIG_ALL=y' .config >> tmp/.diffconfig.head
 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