Unbreak the nightly build after the procfs to sysfs switch.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2047 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-04 08:17:55 +00:00
parent 7f5c6fe8c1
commit 0ff36ae2e2
2 changed files with 7 additions and 7 deletions

View File

@@ -221,14 +221,10 @@ do
fi
done
# Hack: make sure that for kernel 2.6.33 and later the line
# Make sure that for kernel 2.6.33 and later the line
# "#define CONFIG_SCST_PROC" is removed from scst/include/scst.h.
# This is done because of the following change in r1609:
# Index: scst/kernel/in-tree/Makefile.scst-2.6.33
# ===================================================================
# -scst-y += scst_proc.o
# +scst-y += scst_sysfs.o
if [ ! "${kernel_version}" "<" "2.6.33" ]; then
if grep -qw scst_sysfs scst/kernel/in-tree/Makefile.scst-${kernel_version};
then
specialize_patch_options="${specialize_patch_options} -v config_scst_proc_undefined=1"
fi

View File

@@ -399,6 +399,10 @@ BEGIN {
{
if (!config_scst_proc_undefined)
{
gsub("^+/\\* #define CONFIG_SCST_PROC \\*/$", "+#define CONFIG_SCST_PROC")
}
input_line[0] = $0
input_line_count = 1
# Join continued lines before processing these.