Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f558c33 authored by Mattia Dongili's avatar Mattia Dongili Committed by Sam Ravnborg
Browse files

kbuild: fix a cscope bug (make cscope segfaults)



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: default avatarMattia Dongili <malattia@linux.it>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 93684d3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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