aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-13 11:34:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-13 11:34:18 +0000
commit6ba8cb4cf1f9ad46dcf0c7e34197432914817c9b (patch)
tree0d1e8ead394f18acc20efa83a7017ba9f0993461 /scripts
parent0b4aafc9103455058056fc43a72c8efa2d64170d (diff)
downloadmaster-187ad058-6ba8cb4cf1f9ad46dcf0c7e34197432914817c9b.tar.gz
master-187ad058-6ba8cb4cf1f9ad46dcf0c7e34197432914817c9b.tar.bz2
master-187ad058-6ba8cb4cf1f9ad46dcf0c7e34197432914817c9b.zip
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 <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47463 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/diffconfig.sh1
1 files changed, 1 insertions, 0 deletions
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