X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Fcoccicheck;h=b2d758188f2f404b22c8c691b87d0e43a0404f5d;hb=d3de94ba4e58e8043d500f7335797d6a2ac93248;hp=bbf901afb606bcbd8c01e09a2b5063f4ae522e76;hpb=63faf15dba4a7d6fb18ed5c45670a152d0c5330b;p=firefly-linux-kernel-4.4.55.git diff --git a/scripts/coccicheck b/scripts/coccicheck index bbf901afb606..b2d758188f2f 100755 --- a/scripts/coccicheck +++ b/scripts/coccicheck @@ -30,7 +30,7 @@ FLAGS="$SPFLAGS --very-quiet" # spatch only allows include directories with the syntax "-I include" # while gcc also allows "-Iinclude" and "-include include" COCCIINCLUDE=${LINUXINCLUDE//-I/-I } -COCCIINCLUDE=${COCCIINCLUDE//-include/-I} +COCCIINCLUDE=${COCCIINCLUDE// -include/ --include} if [ "$C" = "1" -o "$C" = "2" ]; then ONLINE=1