From d50a02767d05c2114af6487c5fabf7adbe2644d6 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 21 Feb 2010 09:00:20 +0000 Subject: [PATCH] Added fcst code in generate-kernel-patch output. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1517 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/generate-kernel-patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index c06f87e85..a4f7bc1b1 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -333,6 +333,35 @@ done | process_patch "scst_passthrough.diff" +# Directory drivers/scst/fcst/ + +{ + add_file "fcst/Makefile_in-tree" \ + "drivers/scst/fcst/Makefile" + + add_file "fcst/Kconfig" "drivers/scst/fcst/Kconfig" + + for f in $(ls fcst/*.[ch] 2>/dev/null) + do + add_file "${f}" "drivers/scst/fcst/${f#fcst/}" + done +} \ +| process_patch "fcst.diff" + +{ + if [ "${kernel_version}" = 2.6.33 ]; then + for f in $(ls fcst/linux-patches/* 2>/dev/null) + do + cat "${f}" + done + fi +} \ +| process_patch "fcst-in-tree.diff" + +add_file "fcst/README" "Documentation/scst/README.fcst" \ +| process_patch "fcst-doc.diff" + + # Directory drivers/scst/iscsi-scst/ # Make sure the file iscsi-scst/iscsi_scst_itf_ver.h is up to date.