From 9c611eccbf175a6109d1daa17e255b806fa49f73 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 12 Nov 2015 01:06:10 +0000
Subject: [PATCH] scripts/diffconfig.sh: reduce config output with
 CONFIG_ALL_KMODS

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

SVN-Revision: 47461
---
 scripts/diffconfig.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/diffconfig.sh b/scripts/diffconfig.sh
index 350886bff2..d26e9a9634 100755
--- a/scripts/diffconfig.sh
+++ b/scripts/diffconfig.sh
@@ -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
-- 
2.34.1