Skip to contentSkip to conversation

Add entry.S labels to tag file

PATCH New Aneesh Kumar K.V 1 participant 1 message Oct 11, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add entry.S labels to tag file

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

Makefile +2 -1
index 274b780..42efa59 100644
@@ -1316,7 +1316,8 @@ define xtags
 	    $(all-sources) | xargs $1 -a \
 		-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-kconfigs) | xargs $1 -a \
 		--langdef=kconfig \
 		--language-force=kconfig \