summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2011-07-28 14:27:27 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-07-28 14:44:31 -0500
commit8d82f5f4dde24bb6f944607c59d314b9f5003ae9 (patch)
tree88a9fc7be41d4072179046acd0fdd09b0b5a672f /config.mk
parentda2ff5ab2bdb1292e62ec1c417d473b5b62b13aa (diff)
downloadtalos-hostboot-8d82f5f4dde24bb6f944607c59d314b9f5003ae9.tar.gz
talos-hostboot-8d82f5f4dde24bb6f944607c59d314b9f5003ae9.zip
Generate ctags file as part of build.
Change-Id: Iddfb56d9e6ffc91ff29cf679fc5243550a31090c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/220 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 1bf95f05b..bc845d698 100644
--- a/config.mk
+++ b/config.mk
@@ -234,6 +234,11 @@ cscope: code_pass
find ../../ -name '*.[CHchS]' -type f -fprint cscope.files; \
cscope -bqk)
+ctags: code_pass
+ mkdir -p ${ROOTPATH}/obj/cscope
+ (cd ${ROOTPATH}/obj/cscope ; rm -f tags ; \
+ ctags --recurse=yes --fields=+S ../../src)
+
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),gen_pass)
ifneq ($(MAKECMDGOALS),GEN_PASS)
OpenPOWER on IntegriCloud