By testing kernel patch generation for the mpt driver I found out that the
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 28 Oct 2008 20:41:29 +0000 (20:41 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 28 Oct 2008 20:41:29 +0000 (20:41 +0000)
Kconfig and Makefile were read from the wrong directory. The patch below fixes
this.

Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@547 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scripts/generate-kernel-patch

index 9894922..00dc397 100755 (executable)
@@ -289,9 +289,9 @@ if [ "$mpt_scst" = "true" ]; then
 
   add_patch "mpt/in-tree/Makefile.diff"       "drivers/message/fusion/Makefile"
 
-  add_file  "mpt/Makefile" "drivers/message/fusion/mpt_scst/Makefile"
+  add_file  "mpt/in-tree/Makefile" "drivers/message/fusion/mpt_scst/Makefile"
 
-  add_file  "mpt/Kconfig"  "drivers/message/fusion/mpt_scst/Kconfig"
+  add_file  "mpt/in-tree/Kconfig"  "drivers/message/fusion/mpt_scst/Kconfig"
 
   for f in $(ls mpt/*.[ch])
   do