mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 04:36:22 +00:00
Bug fix: substitute CONFIG_SCST_PROC properly.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2103 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -129,11 +129,9 @@ function evaluate(stmnt) {
|
||||
gsub("defined *\\( *CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION *\\)", 0, stmnt)
|
||||
}
|
||||
|
||||
if (config_scst_proc_undefined)
|
||||
{
|
||||
gsub("defined *CONFIG_SCST_PROC", 0, stmnt)
|
||||
gsub("defined *\\( *CONFIG_SCST_PROC *\\)", 0, stmnt)
|
||||
}
|
||||
gsub("defined *CONFIG_SCST_PROC", !config_scst_proc_undefined, stmnt)
|
||||
gsub("defined *\\( *CONFIG_SCST_PROC *\\)", !config_scst_proc_undefined,
|
||||
stmnt)
|
||||
|
||||
if (debug)
|
||||
printf "/* debug specialize-patch: (b) %s */\n", stmnt
|
||||
|
||||
Reference in New Issue
Block a user