scripts/diffconfig.sh: reduce config output with CONFIG_ALL_KMODS
authorFelix Fietkau <nbd@openwrt.org>
Wed, 18 Nov 2015 12:38:48 +0000 (12:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 18 Nov 2015 12:38:48 +0000 (12:38 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r47461

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47496 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/diffconfig.sh

index 350886b..d26e9a9 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head
 grep '^CONFIG_ALL=y' .config >> tmp/.diffconfig.head
 #!/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
 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