summaryrefslogtreecommitdiff
path: root/scripts/diffconfig.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-28 23:25:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-28 23:25:18 +0000
commit1dbabd309b922bb5782755f11615317068915da3 (patch)
treec36a2b0c27853d029e1e1c86134b2c88f8d33f5b /scripts/diffconfig.sh
parentad9945105b58f7a46b00e5eb9d792312b88eef3b (diff)
downloadmtk-20170518-1dbabd309b922bb5782755f11615317068915da3.zip
mtk-20170518-1dbabd309b922bb5782755f11615317068915da3.tar.gz
mtk-20170518-1dbabd309b922bb5782755f11615317068915da3.tar.bz2
scripts/diffconfig.sh: handle CONFIG_ALL, CONFIG_DEVEL and CONFIG_TOOLCHAINOPTS properly
SVN-Revision: 26349
Diffstat (limited to 'scripts/diffconfig.sh')
-rwxr-xr-xscripts/diffconfig.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/diffconfig.sh b/scripts/diffconfig.sh
index e1d605d..c7e8c1e 100755
--- a/scripts/diffconfig.sh
+++ b/scripts/diffconfig.sh
@@ -1,5 +1,8 @@
#!/bin/sh
grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head
+grep '^CONFIG_ALL=y' .config >> tmp/.diffconfig.head
+grep '^CONFIG_DEVEL=y' .config >> tmp/.diffconfig.head
+grep '^CONFIG_TOOLCHAINOPTS=y' .config >> tmp/.diffconfig.head
./scripts/config/conf -D tmp/.diffconfig.head -w tmp/.diffconfig.stage1 Config.in >/dev/null
./scripts/kconfig.pl '>+' tmp/.diffconfig.stage1 .config >> tmp/.diffconfig.head
./scripts/config/conf -D tmp/.diffconfig.head -w tmp/.diffconfig.stage2 Config.in >/dev/null