X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=scripts%2Fcoccicheck;h=b2d758188f2f404b22c8c691b87d0e43a0404f5d;hb=97a586d2e3e177d62e4bc67b83bf2a840ca68530;hp=bbf901afb606bcbd8c01e09a2b5063f4ae522e76;hpb=4ba25a496f62129a2ad8c2436ab2b402752dc66c;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