Made sure that the pre-cflags patches are uniform to the other in-tree kernel
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 10 Jan 2010 13:16:28 +0000 (13:16 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 10 Jan 2010 13:16:28 +0000 (13:16 +0000)
patches, i.e. that -p1 has to be used to apply these patches.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1443 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/README.ofed
srpt/patches/kernel-2.6.18-pre-cflags.patch
srpt/patches/kernel-2.6.27-pre-cflags.patch
srpt/patches/kernel-2.6.30-pre-cflags.patch

index 12df4e3..c7e3171 100644 (file)
@@ -63,7 +63,7 @@ the variable PRE_CFLAGS:
   else
     cd /usr/src/linux-$(uname -r)
   fi
-  patch -p0 < ${SCST_DIR}/srpt/patches/kernel-${KV}-pre-cflags.patch
+  patch -p1 < ${SCST_DIR}/srpt/patches/kernel-${KV}-pre-cflags.patch
 
 Next, download and install the OFED package. Make sure to disable
 OFED's SRP target driver (srpt=n) and to enable at least the
index 53cf23f..f0801cc 100644 (file)
@@ -1,5 +1,5 @@
---- scripts/Makefile.lib       2009-05-10 20:00:05.000000000 +0200
-+++ scripts/Makefile.lib       2009-05-10 20:00:25.000000000 +0200
+--- linux-2.6.18/scripts/Makefile.lib  2009-05-10 20:00:05.000000000 +0200
++++ linux-2.6.18/scripts/Makefile.lib  2009-05-10 20:00:25.000000000 +0200
 @@ -108,7 +108,7 @@
  __cpp_flags     =                          $(call flags,_cpp_flags)
  endif
index 7181bfc..1e5b34a 100644 (file)
@@ -1,5 +1,5 @@
---- scripts/Makefile.lib       2009-05-10 19:02:42.000000000 +0200
-+++ scripts/Makefile.lib       2009-05-05 19:34:57.000000000 +0200
+--- linux-2.6.27/scripts/Makefile.lib  2009-05-10 19:02:42.000000000 +0200
++++ linux-2.6.27/scripts/Makefile.lib  2009-05-05 19:34:57.000000000 +0200
 @@ -119,7 +119,7 @@
  __cpp_flags     =                          $(call flags,_cpp_flags)
  endif
index 4c43eae..88cc5f8 100644 (file)
@@ -1,5 +1,5 @@
---- Makefile.orig      2009-10-31 13:49:29.000000000 +0100
-+++ Makefile   2009-10-31 13:49:32.000000000 +0100
+--- linux-2.6.30/Makefile      2009-10-31 13:49:29.000000000 +0100
++++ linux-2.6.30/Makefile      2009-10-31 13:49:32.000000000 +0100
 @@ -342,7 +342,7 @@ AFLAGS_KERNEL      =
  
  # Use LINUXINCLUDE when you must reference the include/ directory.