[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] This fixes the Xen Makefile to allow correct building of cscope, TAGS



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 4f0ecc016cd1ebda3bff176c8c01113c35b05c7b
# Parent  898b5427701cd14e195f3184b4fc3dfdefe6c857
This fixes the Xen Makefile to allow correct building of cscope, TAGS
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@xxxxxxxxxx>

diff -r 898b5427701c -r 4f0ecc016cd1 .hgignore
--- a/.hgignore Thu Apr 13 09:41:53 2006
+++ b/.hgignore Thu Apr 13 09:45:43 2006
@@ -184,6 +184,7 @@
 ^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$
diff -r 898b5427701c -r 4f0ecc016cd1 xen/Makefile
--- a/xen/Makefile      Thu Apr 13 09:41:53 2006
+++ b/xen/Makefile      Thu Apr 13 09:45:43 2006
@@ -135,16 +135,20 @@
       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
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.