srpt/README: Fix SLES patch instructions (merge r5682 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5746 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-09-03 09:12:08 +00:00
parent 9256821943
commit a41e4ea1b5

View File

@@ -61,7 +61,7 @@ the variable PRE_CFLAGS:
if [ -e /lib/modules/$(uname -r)/build/scripts/Makefile.lib ]; then
cd /lib/modules/$(uname -r)/build
else
cd /usr/src/linux-$(uname -r)
cd /usr/src/linux-$(uname -r | sed 's/\(-default\|-trace\|-xen\)$//;s/\.[0-9]\+\.[0-9]\+\.[0-9]\+\.PTF$//')
fi
patch -p1 < ${SCST_DIR}/srpt/patches/kernel-${KV}-pre-cflags.patch