mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
6d847cf8cb
commit
0bef33a1a3
2 files changed
+11
-6
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
|
||||