* [PATCH 1/1] kvm: add cscope for whole userspace
@ 2008-10-14 7:28 Sheng Yang
2008-10-15 13:53 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Sheng Yang @ 2008-10-14 7:28 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm, Sheng Yang
Notice that the patch exclude kernel directory in cscope.files of userspace.
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
---
Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 402c3e9..6581679 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ rpmrelease = devel
sane-arch = $(subst i386,x86,$(subst x86_64,x86,$(subst s390x,s390,$(ARCH))))
-.PHONY: kernel user libkvm qemu bios vgabios extboot clean libfdt
+.PHONY: kernel user libkvm qemu bios vgabios extboot clean libfdt cscope
all: libkvm qemu
ifneq '$(filter $(ARCH), x86_64 i386 ia64)' ''
@@ -110,7 +110,13 @@ srpm:
clean:
for i in $(if $(WANT_MODULE), kernel) user libkvm qemu libfdt; do \
make -C $$i clean; \
+ rm -f ./cscope.*
done
distclean: clean
rm -f config.mak user/config.mak
+
+cscope:
+ rm -f ./cscope.*
+ find . -wholename './kernel' -prune -o -name "*.[ch]" -print > ./cscope.files
+ cscope -b
--
1.5.4.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] kvm: add cscope for whole userspace
2008-10-14 7:28 [PATCH 1/1] kvm: add cscope for whole userspace Sheng Yang
@ 2008-10-15 13:53 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-10-15 13:53 UTC (permalink / raw)
To: Sheng Yang; +Cc: kvm
Sheng Yang wrote:
> Notice that the patch exclude kernel directory in cscope.files of userspace.
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-15 13:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-14 7:28 [PATCH 1/1] kvm: add cscope for whole userspace Sheng Yang
2008-10-15 13:53 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox