mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 13:41:27 +00:00
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:
@@ -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}"/*
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user