[U-Boot] [PATCH] Let target 'cscope' follow symbolic links
Without telling 'find' to follow symbolic links, files under include/asm and arch/$(ARCH)/include/asm/arch are not added to the cscope file list. Signed-off-by: Horst Kronstorfer --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index e56fa02..deff642 100644 --- a/Makefile +++ b/Makefile @@ -479,7 +479,7 @@ etags: etags -a -o $(obj)etags `find $(TAG_SUBDIRS) \ -name '*.[chS]' -print` cscope: - find $(TAG_SUBDIRS) -name '*.[chS]' -print > cscope.files + find -L $(TAG_SUBDIRS) -name '*.[chS]' -print > cscope.files cscope -b -q -k SYSTEM_MAP = \ -- 1.7.6 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] Let target 'cscope' follow symbolic links
Hi Horst, > Without telling 'find' to follow symbolic links, files under include/asm > and arch/$(ARCH)/include/asm/arch are not added to the cscope file list. While your point seems valid, I see three occurrences of such a find pattern and you fix only one. May I ask you to fix all of them so users of tags and etags are not left behind? Thanks! Detlev -- A zen-buddhist walked into a pizza shop and said, "Make me one with everything." -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH] Let target 'cscope' follow symbolic links
> -Original Message- > From: Detlev Zundel [mailto:d...@denx.de] > Sent: Freitag, 15. Juli 2011 09:34 > To: KRONSTORFER Horst > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] Let target 'cscope' follow symbolic links > > Hi Horst, > >> Without telling 'find' to follow symbolic links, files under include/asm >> and arch/$(ARCH)/include/asm/arch are not added to the cscope file list. > > While your point seems valid, I see three occurrences of such a find > pattern and you fix only one. May I ask you to fix all of them so > users of tags and etags are not left behind? you're right ... will do! br -h > Thanks! > Detlev > > -- > A zen-buddhist walked into a pizza shop and > said, "Make me one with everything." > -- > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: d...@denx.de ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot