Skip to contentSkip to conversation

Add entry.S labels to tag file.

PATCH Aneesh Kumar 2 participants 2 messages Jan 19, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

The below patch add functions defined using ENTRY macro to the tag file generated
using ctags.

Makefile +1 -1
index 252a659..8f0cc11 100644
@@ -1272,7 +1272,7 @@ define cmd_tags
 	CTAGSF=`ctags --version | grep -i exuberant >/dev/null &&     \
                 echo "-I __initdata,__exitdata,__acquires,__releases  \
                       -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL              \
-                      --extra=+f --c-kinds=+px"`;                     \
+                      --extra=+f --c-kinds=+px --regex-asm=/ENTRY\(([^)]*)\).*/\1/"`;  \
                 $(all-sources) | xargs ctags $$CTAGSF -a
 endef
 
#1 lore raw
Quoted 11 lines · Aneesh Kumar

The below patch add functions defined using ENTRY macro to the tag file generated
using ctags.

Makefile +0 -0
index 252a659..8f0cc11 100644

Makefile define cmd_tags · line 1277

Quoted 7 lines
Makefile +1 -1
@@ -1272,7 +1272,7 @@ define cmd_tags
 	CTAGSF=`ctags --version | grep -i exuberant >/dev/null &&     \
                 echo "-I __initdata,__exitdata,__acquires,__releases  \
                       -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL              \
-                      --extra=+f --c-kinds=+px"`;                     \
+                      --extra=+f --c-kinds=+px --regex-asm=/ENTRY\(([^)]*)\).*/\1/"`;  \
                 $(all-sources) | xargs ctags $$CTAGSF -a
 endef

Fixed line length and applied.
Was this not relevant for etags?

Sam