diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-31 13:32:25 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-12-31 13:32:25 +0000 |
commit | fffae03e9d899d5113dd802d57cc1b626d867d86 (patch) | |
tree | d8ae250d87488c996227f780ebbd6b2bc8836833 | |
parent | fa03be185938b8a4c0b4d6c5c88f2a0bcf494a36 (diff) |
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
-rwxr-xr-x | build_tools/test_kernel_git | 7 |
1 files changed, 6 insertions, 1 deletions
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." |