mirror of
https://github.com/SCST-project/scst.git
synced 2026-07-19 22:42:38 +00:00
Changes: save output of 'make allmodconfig' and also build the drivers/scsi
modules with sparse for 2.6.35.x kernel versions instead of only 2.6.35. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2190 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -329,10 +329,10 @@ function patch_and_configure_kernel {
|
||||
|
||||
echo "Patching and configuring kernel ..."
|
||||
(
|
||||
cd "${outputdir}/linux-$1" \
|
||||
&& patch -p1 -f -s <"${patchfile}" \
|
||||
>"${outputdir}/patch-command-output-$1.txt" \
|
||||
&& make -s allmodconfig &>/dev/null \
|
||||
cd "${outputdir}/linux-$1" \
|
||||
&& patch -p1 -f -s <"${patchfile}" \
|
||||
>"${outputdir}/patch-command-output-$1.txt" \
|
||||
&& make -s allmodconfig &>"${outputdir}/make-config-output.txt" \
|
||||
&& sed -i.tmp 's/^CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y$/CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=n/' .config \
|
||||
&& make -s oldconfig &>/dev/null
|
||||
)
|
||||
@@ -597,7 +597,7 @@ do
|
||||
if [ "${run_sparse}" = "true" ]; then
|
||||
run_sparse $k drivers/scst
|
||||
mv ${outputdir}/sparse-$k-output.txt ${outputdir}/sparse-$k-scst-output.txt
|
||||
if [ "$k" = "2.6.35" ]; then
|
||||
if [ "${k#2.6.35}" != "$k" ]; then
|
||||
run_sparse $k drivers/scsi libsrp.ko scsi_sysfs.ko \
|
||||
scsi_transport_fc.ko scsi_transport_srp.ko
|
||||
mv ${outputdir}/sparse-$k-output.txt \
|
||||
|
||||
Reference in New Issue
Block a user