scripts/diffconfig.sh: reduce config output with CONFIG_ALL_KMODS

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47461
This commit is contained in:
Felix Fietkau 2015-11-12 01:06:10 +00:00
parent e4859508be
commit 9c611eccbf
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/bin/sh
grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head
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
./scripts/config/conf --defconfig=tmp/.diffconfig.head -w tmp/.diffconfig.stage1 Config.in >/dev/null