mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
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: Horst Kronstorfer <hkronsto@frequentis.com> Acked-by: Detlev Zundel <dzu@denx.de>
This commit is contained in:
parent
c7506c2b03
commit
857d9ea67a
1 changed files with 7 additions and 3 deletions
10
Makefile
10
Makefile
|
@ -468,15 +468,19 @@ TAG_SUBDIRS = $(SUBDIRS)
|
||||||
TAG_SUBDIRS += $(dir $(__LIBS))
|
TAG_SUBDIRS += $(dir $(__LIBS))
|
||||||
TAG_SUBDIRS += include
|
TAG_SUBDIRS += include
|
||||||
|
|
||||||
|
FIND := find
|
||||||
|
FINDFLAGS := -L
|
||||||
|
|
||||||
tags ctags:
|
tags ctags:
|
||||||
ctags -w -o $(obj)ctags `find $(TAG_SUBDIRS) \
|
ctags -w -o $(obj)ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
|
||||||
-name '*.[chS]' -print`
|
-name '*.[chS]' -print`
|
||||||
|
|
||||||
etags:
|
etags:
|
||||||
etags -a -o $(obj)etags `find $(TAG_SUBDIRS) \
|
etags -a -o $(obj)etags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
|
||||||
-name '*.[chS]' -print`
|
-name '*.[chS]' -print`
|
||||||
cscope:
|
cscope:
|
||||||
find $(TAG_SUBDIRS) -name '*.[chS]' -print > cscope.files
|
$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) -name '*.[chS]' -print > \
|
||||||
|
cscope.files
|
||||||
cscope -b -q -k
|
cscope -b -q -k
|
||||||
|
|
||||||
SYSTEM_MAP = \
|
SYSTEM_MAP = \
|
||||||
|
|
Loading…
Add table
Reference in a new issue