coccicheck: add M= option to control which dir is processed
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Sun, 6 Nov 2011 01:59:43 +0000 (20:59 -0500)
committerMichal Marek <mmarek@suse.cz>
Sat, 14 Jan 2012 21:25:40 +0000 (22:25 +0100)
commitd0bc1fb4672b978b608400a5112249cdbc28f9ae
tree5570ade8bf0919055925fce7a01832e942e53d38
parentff894e396b4d0b5383127c1bcb2cd3879946526e
coccicheck: add M= option to control which dir is processed

Examples:
make coccicheck M=drivers/net/wireless/
make coccicheck SUBDIRS=drivers/net/wireless/

Version 2:
fix patch file names when using M=
tell coccinelle where the include files are

Version 3:
Add second include option to support out of tree development
Fix error message

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccicheck