From fffae03e9d899d5113dd802d57cc1b626d867d86 Mon Sep 17 00:00:00 2001 From: tzafrir Date: Mon, 31 Dec 2007 13:32:25 +0000 Subject: Allow passing an arbitrary parameter to the build command. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3584 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- build_tools/test_kernel_git | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'build_tools') diff --git a/build_tools/test_kernel_git b/build_tools/test_kernel_git index 1d6e514..2508b58 100755 --- a/build_tools/test_kernel_git +++ b/build_tools/test_kernel_git @@ -58,7 +58,12 @@ case "$command" in 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." -- cgit v1.2.3