summaryrefslogtreecommitdiffstats
path: root/scripts/coccicheck
diff options
context:
space:
mode:
authorNicolas Palix <nicolas.palix@imag.fr>2013-03-02 22:36:27 +0100
committerMichal Marek <mmarek@suse.cz>2013-04-08 15:42:03 +0200
commited621cc4a5f6fd41cf02b2408273474d46ac4cac (patch)
treec8f8d5ecf7bb1446435a90f55f48dc050b68f232 /scripts/coccicheck
parent9e395550779efa07ee00809a041534b9641fb7a7 (diff)
downloadop-kernel-dev-ed621cc4a5f6fd41cf02b2408273474d46ac4cac.zip
op-kernel-dev-ed621cc4a5f6fd41cf02b2408273474d46ac4cac.tar.gz
Coccinelle: Add support to the SPFLAGS variable
The SPFLAGS variable allows to pass additional options to spatch, e.g. -use_glimpse. Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/coccicheck')
-rwxr-xr-xscripts/coccicheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccicheck b/scripts/coccicheck
index cdde8e0..6d492c0 100755
--- a/scripts/coccicheck
+++ b/scripts/coccicheck
@@ -11,7 +11,7 @@ else
VERBOSE=0
fi
-FLAGS="-very_quiet"
+FLAGS="$SPFLAGS -very_quiet"
# spatch only allows include directories with the syntax "-I include"
# while gcc also allows "-Iinclude" and "-include include"
OpenPOWER on IntegriCloud