Displaying 2 results from an estimated 2 matches for "set_exuberant_flags".
2006 Sep 21
0
[PATCH] Clean up and enhance "make tags"
...#39;'*.[chS]'' -print )
+ ( find include/asm-$(TARGET_ARCH) -name ''*.h'' -print; \
+ find include -name ''asm-*'' -prune -o -name ''*.h'' -print; \
+ find $(SUBDIRS) -name ''*.[chS]'' -print )
+endef
+
+define set_exuberant_flags
+ exuberant_flags=`$1 --version 2>/dev/null | grep -iq exuberant && \
+ echo "-I __initdata,__exitdata,__acquires,__releases \
+ -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
+ --extra=+f --c-kinds=+px"`
endef
.PHONY: _TAGS
_TAGS:
- rm -f TAGS && $(all_sources)...
2012 Feb 22
5
[PATCH] Add gtags target for xen/Makefile. Also update .hgignore.
...ean
_distclean: clean
- rm -f tags TAGS cscope.files cscope.in.out cscope.out cscope.po.out
+ rm -f tags TAGS cscope.files cscope.in.out cscope.out cscope.po.out gtags.files GTAGS GPATH GRTAGS GSYMS
$(TARGET).gz: $(TARGET)
gzip -f -9 < $< > $@.new
@@ -159,6 +159,12 @@ _tags:
$(call set_exuberant_flags,ctags); \
$(all_sources) | xargs ctags $$exuberant_flags -a
+.PHONY: _gtags
+_gtags:
+ set -e; rm -f GTAGS GSYMS GPATH GRTAGS
+ $(all_sources) > gtags.files
+ gtags -f gtags.files
+
.PHONY: _cscope
_cscope:
$(all_sources) > cscope.files