Reworked qla2x00t patch generation process:

- Moved qla2x00t patch generation code from qla2x00t/Makefile to
  qla2x00t/extract-qla2xxx-orig and qla2x00t/generate-in-tree-patches.
  Restored qla2x00t/Makefile to r1104.
- scripts/run-regression-tests now passes the full kernel version (including
  patch level) to scripts/generate-kernel-patch.
- scripts/generate-kernel-patch can now generate patches for the files
  in drivers/scsi/qla2xxx for any kernel version instead of only 2.6.26.8.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-10-11 15:54:04 +00:00
parent 19d5af487e
commit ebc6c27bde
5 changed files with 135 additions and 91 deletions
+2 -2
View File
@@ -292,7 +292,7 @@ function generate_kernel_patch {
$([ "${scst_local}" = "true" ] && echo -- "-l") \
$([ "${mpt_scst}" = "true" ] && echo -- "-m") \
$([ "${qla2x00t}" = "true" ] && echo -- "-q") \
${kver} > "${patchfile}"
${1} > "${patchfile}"
SIGNED_OFF_BY="..." \
scripts/generate-kernel-patch \
@@ -300,7 +300,7 @@ function generate_kernel_patch {
$([ "${scst_local}" = "true" ] && echo -- "-l") \
$([ "${mpt_scst}" = "true" ] && echo -- "-m") \
$([ "${qla2x00t}" = "true" ] && echo -- "-q") \
${kver} > "${patchfile_m}"
${1} > "${patchfile_m}"
}
# Generate a kernel patch through scripts/generate-kernel-patch and test