mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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>
This commit is contained in:
parent
9e39555077
commit
ed621cc4a5
@ -134,6 +134,15 @@ MODE variable explained above.
|
|||||||
In this mode, there is no information about semantic patches
|
In this mode, there is no information about semantic patches
|
||||||
displayed, and no commit message proposed.
|
displayed, and no commit message proposed.
|
||||||
|
|
||||||
|
Additional flags
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Additional flags can be passed to spatch through the SPFLAGS
|
||||||
|
variable.
|
||||||
|
|
||||||
|
make SPFLAGS=--use_glimpse coccicheck
|
||||||
|
|
||||||
|
See spatch --help to learn more about spatch options.
|
||||||
|
|
||||||
Proposing new semantic patches
|
Proposing new semantic patches
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -11,7 +11,7 @@ else
|
|||||||
VERBOSE=0
|
VERBOSE=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
FLAGS="-very_quiet"
|
FLAGS="$SPFLAGS -very_quiet"
|
||||||
|
|
||||||
# spatch only allows include directories with the syntax "-I include"
|
# spatch only allows include directories with the syntax "-I include"
|
||||||
# while gcc also allows "-Iinclude" and "-include include"
|
# while gcc also allows "-Iinclude" and "-include include"
|
||||||
|
Loading…
Reference in New Issue
Block a user