mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kconfig/merge_config.sh: Accept a single file
@ 2015-08-20 14:06 Gabriel de Perthuis
  0 siblings, 0 replies; only message in thread
From: Gabriel de Perthuis @ 2015-08-20 14:06 UTC (permalink / raw)
  To: Yann E . MORIN; +Cc: linux-kbuild, linux-kernel, Gabriel de Perthuis

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@gmail.com>
---
 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-20 14:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-20 14:06 [PATCH] kconfig/merge_config.sh: Accept a single file Gabriel de Perthuis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome