]> git.sur5r.net Git - u-boot/commitdiff
Let source cross-reference targets follow symbolic links
authorHorst Kronstorfer <hkronsto@frequentis.com>
Mon, 18 Jul 2011 01:21:18 +0000 (01:21 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 14:30:52 +0000 (16:30 +0200)
Tell 'find' to follow symbolic links, so that files under include/asm
and arch/$(ARCH)/include/asm/arch are added to the indexing file list.

Signed-off-by: Horst Kronstorfer <hkronsto@frequentis.com>
Acked-by: Detlev Zundel <dzu@denx.de>
Makefile

index 10a9973f241d6edb444f4fc5a4cc72172ea1e764..c9e1053da107aad7cb6155691b65c5c79e789044 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -468,15 +468,19 @@ TAG_SUBDIRS = $(SUBDIRS)
 TAG_SUBDIRS += $(dir $(__LIBS))
 TAG_SUBDIRS += include
 
+FIND := find
+FINDFLAGS := -L
+
 tags ctags:
-               ctags -w -o $(obj)ctags `find $(TAG_SUBDIRS) \
+               ctags -w -o $(obj)ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
                                                -name '*.[chS]' -print`
 
 etags:
-               etags -a -o $(obj)etags `find $(TAG_SUBDIRS) \
+               etags -a -o $(obj)etags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
                                                -name '*.[chS]' -print`
 cscope:
-               find $(TAG_SUBDIRS) -name '*.[chS]' -print > cscope.files
+               $(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) -name '*.[chS]' -print > \
+                                               cscope.files
                cscope -b -q -k
 
 SYSTEM_MAP = \