Hi, On Tue, Jun 7, 2011 at 6:56 PM, Julia Lawall <[email protected]> wrote: >> As an aside, I added a feature to the script for myself so that I can for >> example write 'make coccicheck M=drivers/net/wireless/' for example to focus >> in on that directory and just run the checks there... I can submit a patch >> for >> this... though I was wondering if there is already a way to do this and I >> just >> missed it. The thought was to make it work the same way you'd build a module. > > I think it is possible, but Nicolas would know better. >
I remember me having worked on that but I cannot find any patch about it so your patch is more that welcome. Some users have requested it some months ago. As far as I can remember, with "M=" you can not use $srctree only but still need it for the -I for instance. I think I then run into a situation where I have an ambiguity about how to setup the flags for coccinelle, but I am sure about the reason I dropped my patch. Maybe I don't know well enough the build system and options... So, don't hesitate to submit your patch. Does it also update the Documentation/coccinelle.txt accordingly ? -- Nicolas Palix http://sardes.inrialpes.fr/~npalix/ _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
