Makefile: Add tags rule
It's useful to have some tags to jump around sources. We don't include test sources in the toplevel Makefile because they probably aren't useful to main program development. Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
0931cea3ba
commit
4baf15f7f1
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -218,6 +218,12 @@ kup: dist
|
|||
$(KUPDIR)/dtc-$(dtc_version).tar.gz
|
||||
endif
|
||||
|
||||
tags: FORCE
|
||||
rm -f tags
|
||||
find . \( -name tests -type d -prune \) -o \
|
||||
\( ! -name '*.tab.[ch]' ! -name '*.lex.c' \
|
||||
-name '*.[chly]' -type f -print \) | xargs ctags -a
|
||||
|
||||
#
|
||||
# Testsuite rules
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue