mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Simplified and generalized code for processing in-tree kernel patches.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@943 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -182,18 +182,13 @@ fi
|
||||
|
||||
# General kernel patches.
|
||||
|
||||
process_patch < "scst/kernel/scst_exec_req_fifo-${kernel_version}.patch" \
|
||||
"scst_exec_req_fifo.diff"
|
||||
if [ -e "scst/kernel/io_context-${kernel_version}.patch" ]; then
|
||||
process_patch < "scst/kernel/io_context-${kernel_version}.patch" \
|
||||
"export_alloc_io_context.diff"
|
||||
fi
|
||||
process_patch < "iscsi-scst/kernel/patches/put_page_callback-${kernel_version}.patch" \
|
||||
"put_page_callback.diff"
|
||||
if [ -e "scst/kernel/readahead-${kernel_version}.patch" ]; then
|
||||
process_patch < "scst/kernel/readahead-${kernel_version}.patch" \
|
||||
"readahead.diff"
|
||||
fi
|
||||
for p in scst/kernel/*-${kernel_version}.patch \
|
||||
iscsi-scst/kernel/patches/*-${kernel_version}.patch
|
||||
do
|
||||
diffname="${p#scst/kernel/}"
|
||||
diffname="${p%-${kernel_version}.patch}.diff"
|
||||
process_patch < "$p" "${diffname}"
|
||||
done
|
||||
|
||||
|
||||
scst_debug="scst/include/scst_debug.h scst/src/scst_debug.c"
|
||||
|
||||
Reference in New Issue
Block a user