mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user