[RFC] CTAGS prototypes

Philip Richard Oberfichtner pro at denx.de
Fri Oct 20 12:46:07 CEST 2023


Hi,

is there a specific reason why the ctags make target is compiled without
using '--kinds-c=+p'? Maybe it would make sense to (optionally) include
that in the Makefile?

I personally find it useful to jump to the header where a function is
declared to view the documentary comment. Or am I missing another option
to quickly get there?

Regards,
Philip

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-22  Fax: +49-8142-66989-80   Email: pro at denx.de
=====================================================================

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e0040a40d3..7f108330a5 100644
--- a/Makefile
+++ b/Makefile
@@ -2085,7 +2085,7 @@ FIND := find
 FINDFLAGS := -L
 
 tags ctags:
-		ctags -w -o ctags `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
+		ctags -w -o ctags --kinds-c=+p `$(FIND) $(FINDFLAGS) $(TAG_SUBDIRS) \
 						-name '*.[chS]' -print`
 		ln -s ctags tags
 
-- 
2.42.0



More information about the U-Boot mailing list