Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285829
b: refs/heads/master
c: d0bc1fb
h: refs/heads/master
i:
  285827: 2ccac6e
v: v3
  • Loading branch information
Greg Dietsche authored and Michal Marek committed Jan 14, 2012
1 parent abf3cfa commit bd6cd95
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff894e396b4d0b5383127c1bcb2cd3879946526e
refs/heads/master: d0bc1fb4672b978b608400a5112249cdbc28f9ae
19 changes: 14 additions & 5 deletions trunk/scripts/coccicheck
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,23 @@ if [ "$C" = "1" -o "$C" = "2" ]; then
# FLAGS="-ignore_unknown_options -very_quiet"
# OPTIONS=$*

# Workaround for Coccinelle < 0.2.3
FLAGS="-I $srctree/include -very_quiet"
shift $(( $# - 1 ))
OPTIONS=$1
if [ "$KBUILD_EXTMOD" = "" ] ; then
# Workaround for Coccinelle < 0.2.3
FLAGS="-I $srctree/include -very_quiet"
shift $(( $# - 1 ))
OPTIONS=$1
else
echo M= is not currently supported when C=1 or C=2
exit 1
fi
else
ONLINE=0
FLAGS="-very_quiet"
OPTIONS="-dir $srctree"
if [ "$KBUILD_EXTMOD" = "" ] ; then
OPTIONS="-dir $srctree"
else
OPTIONS="-dir $KBUILD_EXTMOD -patch $srctree -I $srctree/include -I $KBUILD_EXTMOD/include"
fi
fi

if [ ! -x "$SPATCH" ]; then
Expand Down

0 comments on commit bd6cd95

Please sign in to comment.