[svn-commits] tzafrir: branch 1.4 r3584 - /branches/1.4/build_tools/test_kernel_git

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 31 07:32:26 CST 2007


Author: tzafrir
Date: Mon Dec 31 07:32:25 2007
New Revision: 3584

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3584
Log:
Allow passing an arbitrary parameter to the build command.

Modified:
    branches/1.4/build_tools/test_kernel_git

Modified: branches/1.4/build_tools/test_kernel_git
URL: http://svn.digium.com/view/zaptel/branches/1.4/build_tools/test_kernel_git?view=diff&rev=3584&r1=3583&r2=3584
==============================================================================
--- branches/1.4/build_tools/test_kernel_git (original)
+++ branches/1.4/build_tools/test_kernel_git Mon Dec 31 07:32:25 2007
@@ -58,7 +58,12 @@
 		set_var kernel_ver "$kernel_ver"
 		;;
 	test)
-		make KSRC="$kernel_dir" KVERS=$kernel_ver
+		# you can pass extra parameters to the make command in
+		# two ways:
+		# 1. Set th value of MAKE_PARAMS in git_test.conf .
+		# 2. Any extra command-line parameter.
+		shift
+		make KSRC="$kernel_dir" KVERS=$kernel_ver $MAKE_PARAMS "$@"
 		;;
 	*)
 		echo "$0: no such command $command. Aborting."




More information about the svn-commits mailing list