Only extract the kernel tree when it's needed, i.e. for the 2.6.26.* kernels.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1235 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-10-21 20:03:39 +00:00
parent 7c9a154e05
commit a8414808ab
2 changed files with 4 additions and 3 deletions

View File

@@ -12,6 +12,10 @@ if [ "${1#2.6.26}" = "$1" ]; then
exit 0
fi
if [ ! -e qla2xxx-orig/$1 ]; then
./extract-qla2xxx-orig "$1"
fi
mkdir -p in-tree-patches/"${kernel_version}"
for f in qla2xxx-orig/"${kernel_version}"/*

View File

@@ -356,9 +356,6 @@ add_file "iscsi-scst/README_in-tree" "Documentation/scst/README.iscsi" \
if [ "${qla2x00t}" = "true" ]; then
if [ ! -e qla2x00t/qla2xxx-orig/$1 ]; then
( cd qla2x00t && ./extract-qla2xxx-orig "$1" )
fi
( cd qla2x00t && ./generate-in-tree-patches "$1" )
for f in $(ls qla2x00t/in-tree-patches/"$1"/*.patch 2>/dev/null)