diff options
author | Nicolas Palix <npalix@diku.dk> | 2010-06-13 03:26:34 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2010-06-28 10:44:53 -0400 |
commit | 1e9dea2a60b71ea7a9ac2936bed920d39f662e52 (patch) | |
tree | df3696ae510c2e4edbc80123dbd73abbc7169c28 /Kbuild | |
parent | 6ff21517c001f38b02393ad9dc92decbaee209fa (diff) |
Add support for the C variable in the coccicheck script
This patch makes it possible to use the Coccinelle checker with the C
variable of the build system. To check only newly edited code, the
following command may be used:
'make C={1,2} CHECK="scripts/coccicheck"'
This runs every semantic patch in scripts/coccinelle by default. The
COCCI variable may additionally be used to only apply a single
semantic patch.
Signed-off-by: Nicolas Palix <npalix@diku.dk>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions