mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Disable CONFIG_DEBUG_STRICT_USER_COPY_CHECKS before starting a kernel build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2085 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -332,7 +332,9 @@ function patch_and_configure_kernel {
|
||||
cd "${outputdir}/linux-$1" \
|
||||
&& patch -p1 -f -s <"${patchfile}" \
|
||||
>"${outputdir}/patch-command-output-$1.txt" \
|
||||
&& make -s allmodconfig &>/dev/null
|
||||
&& make -s allmodconfig &>/dev/null \
|
||||
&& sed -i.tmp 's/^CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y$/CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=n/' .config \
|
||||
&& make -s oldconfig
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user