lkml.org 
[lkml]   [2010]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/7] Add a target to use the Coccinelle checker
    On 30.6.2010 20:58, Kulikov Vasiliy wrote:
    >> +if [ "$COCCI" = "" ] ; then
    >> + for f in `find $srctree/scripts/coccinelle/ -name '*.cocci' -type f | sort`; do
    >> + coccinelle $f $srctree;
    >> + done
    >> +else
    >> + coccinelle $COCCI $srctree
    >> +fi
    >
    > I think it is more usefull to use $M instead of $srctree to run simple
    > 'make coccicheck'.

    Good idea, but
    1) The right variable to look for is $KBUILD_EXTMOD
    2) If this is not set, the script should check files in $srctree as before

    Michal


    \
     
     \ /
      Last update: 2010-07-02 22:13    [W:0.020 / U:0.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site