mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [kbuild,-mm] [PATCH] workaround a cscope bug (make cscope segfaults)
Date: Sun, 19 Feb 2006 14:24:59 +0100	[thread overview]
Message-ID: <20060219132459.GA9993@mars.ravnborg.org> (raw)
In-Reply-To: <20060219125037.GA29662@inferi.kami.home>

On Sun, Feb 19, 2006 at 01:50:37PM +0100, Mattia Dongili wrote:
> 
> Workaround a cscope bug where a trailing ':' in VPATH makes it segfault
> and let it build the cross-reference succesfully.
> 
> VPATH=/home/mattia/devel/kernel/git/linux-2.6: cscope -b
> [1]    17555 segmentation fault VPATH=/home/mattia/devel/kernel/git/linux-2.6: cscope -b
> 
> Signed-off-by: Mattia Dongili <malattia@linux.it>
Hi Mattia.
I have added the following patch to my tree.
Thanks for the report.

	Sam

diff --git a/Makefile b/Makefile
index a55a1e4..7a95f4f 100644
--- a/Makefile
+++ b/Makefile
@@ -137,7 +137,7 @@ objtree		:= $(CURDIR)
 src		:= $(srctree)
 obj		:= $(objtree)
 
-VPATH		:= $(srctree):$(KBUILD_EXTMOD)
+VPATH		:= $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))
 
 export srctree objtree VPATH TOPDIR
 

      reply	other threads:[~2006-02-19 13:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-19 12:50 Mattia Dongili
2006-02-19 13:24 ` Sam Ravnborg [this message]

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=20060219132459.GA9993@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®