[PATCH] kconfig/merge_config.sh: Accept a single file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



merge_config.sh can usefully be applied to a single file.
It does an implicit merge with the default configuration.

Signed-off-by: Gabriel de Perthuis <g2p.code@xxxxxxxxx>
---
 scripts/kconfig/merge_config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
index 7b53f02..e914c5a 100755
--- a/scripts/kconfig/merge_config.sh
+++ b/scripts/kconfig/merge_config.sh
@@ -75,11 +75,11 @@ while true; do
 		break
 		;;
 	esac
 done
 
-if [ "$#" -lt 2 ] ; then
+if [ "$#" -lt 1 ] ; then
 	usage
 	exit
 fi
 
 INITFILE=$1
-- 
2.5.0.347.g10df1da

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux