Hi, On Thu, Oct 20, 2011 at 4:13 PM, Anton Staaf <robot...@chromium.org> wrote: > On Thu, Oct 20, 2011 at 3:39 PM, Simon Glass <s...@chromium.org> wrote: >> This is a script for automating submission of patches to the U-Boot mailing >> list. >> [snip] >> +def FindCheckPatch(): >> + # Look in current dir >> + for path in [os.getcwd(), '%s/bin' % os.getenv('HOME')]: >> + fname = os.path.join(path, 'checkpatch.pl') >> + if os.path.isfile(fname): >> + return fname >> + >> + # Look upwwards for a Chrome OS tree >> + while not os.path.ismount(path): >> + fname = os.path.join(path, 'src', 'third_party', 'kernel', 'files', >> + 'scripts', 'checkpatch.pl') >> + if os.path.isfile(fname): >> + return fname >> + path = os.path.dirname(path) >> + print 'Could not find checkpatch.pl' >> + return None >> + > > This should be able to be simplified now that checkpatch is being imported > into > U-Boot.
When will checkpatch appear in the tree? I see a patch on the list - can I assume this will go in before this util? If there are no other changes I will tidy this up and a few other fixes and submit v3. After that assuming this goes in I can perhaps look at integrating with MAKEALL. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot