diff options
author | Stephen Boyd <stephen.boyd@linaro.org> | 2017-01-26 10:48:14 -0800 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-01-30 12:09:31 +1100 |
commit | 4baf15f7f13f62fe81f38afe4f871be47b79461a (patch) | |
tree | 61c219d4b35d3dd30c0bb0d0317d112e5431b519 | |
parent | 0931cea3ba20d41013284c20b5a204dca002c058 (diff) | |
download | dtc-4baf15f7f13f62fe81f38afe4f871be47b79461a.zip dtc-4baf15f7f13f62fe81f38afe4f871be47b79461a.tar.gz dtc-4baf15f7f13f62fe81f38afe4f871be47b79461a.tar.bz2 |
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>
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 # |