projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
coccicheck: make SPFLAGS more useful
[cascardo/linux.git]
/
scripts
/
coccicheck
diff --git
a/scripts/coccicheck
b/scripts/coccicheck
index
f137b04
..
5319fae
100755
(executable)
--- a/
scripts/coccicheck
+++ b/
scripts/coccicheck
@@
-30,7
+30,7
@@
else
NPROC="$J"
fi
NPROC="$J"
fi
-FLAGS="--very-quiet
$SPFLAGS
"
+FLAGS="--very-quiet"
# spatch only allows include directories with the syntax "-I include"
# while gcc also allows "-Iinclude" and "-include include"
# spatch only allows include directories with the syntax "-I include"
# while gcc also allows "-Iinclude" and "-include include"
@@
-106,6
+106,9
@@
kill_running() {
done
}
done
}
+# You can override heuristics with SPFLAGS, these must always go last
+OPTIONS="$OPTIONS $SPFLAGS"
+
coccinelle () {
COCCI="$1"
coccinelle () {
COCCI="$1"