diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-11-19 14:33:14 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-11-20 20:18:38 -0500 |
commit | 8a28caf02b7763f3d0b3813805ecd3ede0589c73 (patch) | |
tree | 7bf0f1fc9e4c142386901b577e54ba58737ec2c9 /scripts/.gitignore | |
parent | 76df275ce53c0435ff4df2e8f1015522d39efd38 (diff) | |
download | u-boot-8a28caf02b7763f3d0b3813805ecd3ede0589c73.zip u-boot-8a28caf02b7763f3d0b3813805ecd3ede0589c73.tar.gz u-boot-8a28caf02b7763f3d0b3813805ecd3ede0589c73.tar.bz2 |
Makefile: add coccicheck target
Coccinelle is a program for static code analysis.
For details on Coccinelle see
http://coccinelle.lip6.fr/
Add scripts/coccicheck copied from Linux kernel v4.14.
The coccicheck script executes the tests *.cocci in
directory scripts/coccinelle by calling spatch.
In Makefile add a coccicheck target. You can use it with
make coccicheck MODE=<mode>
where mode in patch, report, context, org.
Add a copy of Linux v4.14 file Documentation/dev-tools/coccinelle.rst
as doc/README.coccinelle.
Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'scripts/.gitignore')
0 files changed, 0 insertions, 0 deletions