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

SVN-Revision: 47496

scripts/diffconfig.sh

index 350886bff26f81db1cbfc0b5f45e657ee4608995..d26e9a963469dbee6b71bc3fecfd42e6cb1e47f2 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
+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