From: kaf24@firebug.cl.cam.ac.uk Date: Thu, 13 Apr 2006 09:45:43 +0000 (+0100) Subject: This fixes the Xen Makefile to allow correct building of cscope, TAGS X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16158^2~2^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0bef33a1a3699eef620a46f9f29a7d6c96fa8b5d;p=xen.git 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 --- diff --git a/.hgignore b/.hgignore index b27604e4b2..49a8440922 100644 --- a/.hgignore +++ b/.hgignore @@ -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 --git a/xen/Makefile b/xen/Makefile index 631f0c791f..1f84dce860 100644 --- a/xen/Makefile +++ b/xen/Makefile @@ -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