提交 857d9ea6 编写于 作者: H Horst Kronstorfer 提交者: Wolfgang Denk

Let source cross-reference targets follow symbolic links

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: NHorst Kronstorfer <hkronsto@frequentis.com>
Acked-by: NDetlev Zundel <dzu@denx.de>
上级 c7506c2b
......@@ -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 = \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册