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@unisys.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2006-04-13 10:45:43 +01:00
1 parent 6d847cf8cb
commit 0bef33a1a3
2 files changed
+11 -6

No files matched your search

+1
View File
@@ -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$
+10 -6
View 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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.