Added fcst code in generate-kernel-patch output.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 21 Feb 2010 09:00:20 +0000 (09:00 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 21 Feb 2010 09:00:20 +0000 (09:00 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1517 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scripts/generate-kernel-patch

index c06f87e..a4f7bc1 100755 (executable)
@@ -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.