From: Felix Fietkau Date: Fri, 13 Nov 2015 11:34:18 +0000 (+0000) Subject: scripts/diffconfig.sh: reduce config output with CONFIG_BUSYBOX_CUSTOM X-Git-Tag: v19.07.0-rc1~12213 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=edd87061ec872ea539e95bcea71c80e2fc5bc3d4;p=openwrt%2Fstaging%2Fhauke.git 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 SVN-Revision: 47463 --- diff --git a/scripts/diffconfig.sh b/scripts/diffconfig.sh index d26e9a9634..f195d1849b 100755 --- a/scripts/diffconfig.sh +++ b/scripts/diffconfig.sh @@ -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