]> xenbits.xensource.com Git - xen.git/commitdiff
This fixes the Xen Makefile to allow correct building of cscope, TAGS
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 13 Apr 2006 09:45:43 +0000 (10:45 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 13 Apr 2006 09:45:43 +0000 (10:45 +0100)
and tags. Prior to this the asm directory was not constructed correctly
for the "find" command. "xen\cscope.*" has been added to ".hgignore".

Signed-off-by: Aravindh Puthiyaparambil
               <aravindh.puthiyaparambil@unisys.com>

.hgignore
xen/Makefile

index b27604e4b2e13151afeebd6ee407885be7d72e16..49a8440922328cfb9c540a8ed1e0e248b99c61d7 100644 (file)
--- a/.hgignore
+++ b/.hgignore
 ^tools/xm-test/ramdisk/buildroot
 ^xen/BLOG$
 ^xen/TAGS$
+^xen/cscope\.*$
 ^xen/arch/x86/asm-offsets\.s$
 ^xen/arch/x86/boot/mkelf32$
 ^xen/arch/x86/xen\.lds$
index 631f0c791fce310bca5517ee85849235609a7b40..1f84dce86005ce7cc95d3598d5a31f02c77bccb5 100644 (file)
@@ -135,16 +135,20 @@ define all_sources
       find $(SUBDIRS) -name SCCS -prune -o -name '*.[chS]' -print )
 endef
 
-.PHONY: TAGS
-TAGS: 
+.PHONY: cscope TAGS tags
+cscope TAGS tags:
+       make -f $(BASEDIR)/Rules.mk _$@
+
+.PHONY: _TAGS
+_TAGS: 
        $(all_sources) | etags -
 
-.PHONY: tags
-tags: 
+.PHONY: _tags
+_tags: 
        $(all_sources) | xargs ctags
 
-.PHONY: cscope
-cscope: 
+.PHONY: _cscope
+_cscope:
        $(all_sources) > cscope.files
        cscope -k -b -q