From: Michal Marek <mmarek@suse.cz>
To: Ian Campbell <ijc@hellion.org.uk>,
Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: linux-kbuild@vger.kernel.org
Subject: Re: Patch eb8f844c "kbuild: specify absolute paths for cscope" breaks cscope use on NFS mounted source tree
Date: Sun, 07 Mar 2010 22:12:07 +0100 [thread overview]
Message-ID: <4B9416A7.203@suse.cz> (raw)
In-Reply-To: <1267784461.11737.37000.camel@zakaz.uk.xensource.com>
On 5.3.2010 11:21, Ian Campbell wrote:
> I keep my kernel source tree on a more powerful build box where I run my
> builds etc (including "make cscope") but run my editor from my
> workstation with an NFS mount to the source. This worked fine for me
> using relative paths for cscope. Using absolute paths in cscope breaks
> this previously working setup because the root path is not the same on
> both systems. I guess this is similar to moving the source tree around.
I was aware that moving the source tree around would break the cscope
database. I hoped that nobody would do this on a daily basis, but
nfs-mounting the tree is essentially the same (an makes perfect sense to
do).
> Without wanting to start a flamewar it really sounds to me like we are
> working around a vim (or cscope) bug here, emacs with cscope bindings
> works fine in this configuration.
>
> Could we at least have an option to allow both variants to work? Would
> setting "make O=$(pwd) cscope" (where pwd is the source tree) not have
> provided a workaround for people who needed absolute paths for whatever
> reason?
Daniel, how do we proceed here? Would
$ make O=. cscope
plus maybe a comment suggesting this, be an acceptable workaround for
your use case (which was running vim from within a subdirectory, IIRC).
Michal
next prev parent reply other threads:[~2010-03-07 21:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-05 10:21 Patch eb8f844c "kbuild: specify absolute paths for cscope" breaks cscope use on NFS mounted source tree Ian Campbell
2010-03-07 21:12 ` Michal Marek [this message]
2010-03-07 21:30 ` Daniel Vetter
2010-03-08 9:34 ` Ian Campbell
2010-03-08 9:34 ` [PATCH] Revert "kbuild: specify absolute paths for cscope" Michal Marek
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=4B9416A7.203@suse.cz \
--to=mmarek@suse.cz \
--cc=daniel.vetter@ffwll.ch \
--cc=ijc@hellion.org.uk \
--cc=linux-kbuild@vger.kernel.org \
/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.