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:
Bart Van Assche
2010-09-10 08:07:19 +00:00
parent 0f4411d273
commit 055686251d

View File

@@ -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
)
}