From: Andrew Jones <drjones@redhat.com>
To: kvm@vger.kernel.org
Cc: pbonzini@redhat.com, rkrcmar@redhat.com
Subject: [PATCH kvm-unit-tests 1/2] Makefile: fix cscope target
Date: Tue, 21 Nov 2017 17:49:20 +0100 [thread overview]
Message-ID: <20171121164921.8396-2-drjones@redhat.com> (raw)
In-Reply-To: <20171121164921.8396-1-drjones@redhat.com>
Since 031755db "arm: enable vmalloc" one of arm's source files is a
symlink. cscope doesn't like that. Fix how we generate cscope.files
in order to make it happy.
Signed-off-by: Andrew Jones <drjones@redhat.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 72313347b8b0..7c0f8e220912 100644
--- a/Makefile
+++ b/Makefile
@@ -121,5 +121,5 @@ cscope: cscope_dirs = lib lib/libfdt lib/linux $(TEST_DIR) $(ARCH_LIBDIRS) lib/a
cscope:
$(RM) ./cscope.*
find -L $(cscope_dirs) -maxdepth 1 \
- -name '*.[chsS]' -print | sed 's,^\./,,' | sort -u > ./cscope.files
+ -name '*.[chsS]' -exec realpath --relative-base=$(PWD) {} \; | sort -u > ./cscope.files
cscope -bk
--
2.13.6
next prev parent reply other threads:[~2017-11-21 16:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-21 16:49 [PATCH kvm-unit-tests 0/2] arm/arm64: some fixups Andrew Jones
2017-11-21 16:49 ` Andrew Jones [this message]
2017-11-21 16:49 ` [PATCH kvm-unit-tests 2/2] arm/arm64: mmu: add missing TLB flushes Andrew Jones
2017-11-23 16:13 ` Radim Krčmář
2017-11-23 16:23 ` Andrew Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171121164921.8396-2-drjones@redhat.com \
--to=drjones@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=rkrcmar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.