devtools: add tags and cscope index generation
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Sat, 29 Apr 2017 10:51:18 +0000 (16:21 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 30 Apr 2017 10:57:04 +0000 (12:57 +0200)
commitaafaea3d3b703ce052b7034f7542443cc2d06e32
tree20d067648a5c44b2de04fb9fc40d9e56845c0ff8
parentf051679dc577d93d177e6eddefaba28a69d9955f
devtools: add tags and cscope index generation

This script generates cscope, gtags, and tags index files based on
EAL environment(architecture and OS(linux/bsd)).

Selection of the architecture and OS environment is based on dpdk
configuration target(T=).If EAL environment(T=) is not specified,
the script generates tag files based on available source code.

Usage: make tags|cscope|gtags|etags [T=config]

example usage:
make cscope
make tags T=x86_64-native-linuxapp-gcc
make gtags T=arm64-armv8a-linuxapp-gcc

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Reviewed-by: Thomas Monjalon <thomas@monjalon.net>
.gitignore
devtools/build-tags.sh [new file with mode: 0755]
mk/rte.sdkroot.mk