Coccinelle: Cleanup the setting of the FLAGS and OPTIONS variables
authorNicolas Palix <nicolas.palix@imag.fr>
Sat, 2 Mar 2013 21:36:26 +0000 (22:36 +0100)
committerMichal Marek <mmarek@suse.cz>
Mon, 8 Apr 2013 13:42:02 +0000 (15:42 +0200)
commit9e395550779efa07ee00809a041534b9641fb7a7
tree0666278552bbca21cb60d97f5bf806dcf1591f88
parent35d88a38710583f3b5afc3255d7bc190a50e1af7
Coccinelle: Cleanup the setting of the FLAGS and OPTIONS variables

The FLAGS variable is factorized independently of the ONLINE mode.
The OPTIONS variable is now based on LINUXINCLUDE and explicit
includes are thus removed.

The format of the -I option differs between gcc and spatch.
The COCCIINCLUDE is used to adapt the format. This rewritting
needs bash.

Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccicheck