public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [RFC] CTAGS prototypes
@ 2023-10-20 10:46 Philip Richard Oberfichtner
  2023-10-20 17:50 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Richard Oberfichtner @ 2023-10-20 10:46 UTC (permalink / raw)
  To: u-boot; +Cc: Philip Richard Oberfichtner

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@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-20 17:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-20 10:46 [RFC] CTAGS prototypes Philip Richard Oberfichtner
2023-10-20 17:50 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox