Added qla2x00t to the nightly build.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1127 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-09-22 18:27:54 +00:00
parent 59e5d0410c
commit 192e2eff4f
2 changed files with 11 additions and 9 deletions

View File

@@ -24,13 +24,12 @@
########################
function usage {
echo "Usage: $0 [-h] [-m] [-p <dir>] [-q] <kernel version>, where: "
echo "Usage: $0 [-h] [-m] [-p <dir>] <kernel version>, where: "
echo " -h - show this text"
echo " -m - add mpt target driver"
echo " -n - do not delete code disabled via preprocessor statements"
echo " -p - generate multiple patches instead of one big patch into"\
"the specified directory."
echo " -q - add qla2x00t driver"
}
# Convert an existing patch.
@@ -140,7 +139,7 @@ function in_separate_patch {
# Argument verification #
#########################
qla2x00t="false"
qla2x00t="true"
srpt="true"
mpt_scst="false"
multiple_patches="false"
@@ -153,7 +152,7 @@ if [ ! -e scst -o ! -e iscsi-scst -o ! -e srpt -o ! -e scst_local ]; then
exit 1
fi
set -- $(/usr/bin/getopt hlmnp:q "$@")
set -- $(/usr/bin/getopt hlmnp: "$@")
while [ "$1" != "${1#-}" ]
do
case "$1" in
@@ -165,7 +164,6 @@ do
shift
;;
'-p') multiple_patches="true"; patchdir="$2"; shift; shift;;
'-q') qla2x00t="true"; shift;;
'--') shift;;
*) usage; exit 1;;
esac

View File

@@ -166,8 +166,10 @@ function compile_scst_unpatched {
&& if "${scst_local}" = "true" ; then make -C scst_local -s ; fi \
&& if "${mpt_scst}" = "true" ; then make -C mpt clean; fi \
&& if "${mpt_scst}" = "true" ; then make -C mpt -s ; fi \
&& make -C srpt -s clean \
&& make -C srpt -s ) \
&& make -C qla2x00t -s clean \
&& make -C qla2x00t -s \
&& make -C srpt -s clean \
&& make -C srpt -s ) \
&> "${outputfile}"
then
echo "OK"
@@ -198,8 +200,10 @@ function compile_scst_patched {
&& if "${scst_local}" = "true" ; then make -C scst_local -s ; fi \
&& if "${mpt_scst}" = "true" ; then make -C mpt clean; fi \
&& if "${mpt_scst}" = "true" ; then make -C mpt -s ; fi \
&& make -C srpt -s clean \
&& make -C srpt -s ) \
&& make -C qla2x00t -s clean \
&& make -C qla2x00t -s \
&& make -C srpt -s clean \
&& make -C srpt -s ) \
&> "${outputfile}"
then
echo "OK"