From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 17 Oct 2019 07:25:00 -0400 Subject: [U-Boot] [PATCH v1] Makefile: Skip symbolic links to files for cscope In-Reply-To: <20191008181245.1093-1-andriy.shevchenko@linux.intel.com> References: <20191008181245.1093-1-andriy.shevchenko@linux.intel.com> Message-ID: <20191017112500.GB16029@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Oct 08, 2019 at 09:12:45PM +0300, Andy Shevchenko wrote: > cscope complains that it can't find files that appears to be symbolic links > > cscope: cannot find file tools/binman/test/u_boot_binman_syms_bad.c > cscope: cannot find file tools/version.h > > `find -L` tests properties, but name, and cscope can't cope with symbolic > links (a lot of bugs in upstream were simple closed as kinda invalid). > > To work around the problem, exclude symbolic links from the cscope.files. > Note, it's done in two pass to speed up the process (`-exec realpath ...` > approach is not portable and introduces a 3x delay). > > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: