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