Re: [PATCH 5/6] kbuild: Use single pass kallsyms

From: Markus Trippelsdorf
Date: Sat Feb 08 2014 - 13:00:46 EST


On 2014.02.08 at 08:01 -0800, Andi Kleen wrote:
> > diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh
> > index 4c5435f420a6..06469556c580 100644
> > --- a/scripts/link-vmlinux.sh
> > +++ b/scripts/link-vmlinux.sh
> > @@ -213,7 +213,7 @@ if [ -n "${CONFIG_KALLSYMS}" ] ; then
> >
> > info PATCHFILE vmlinux
> > OFF=$(${OBJDUMP} --section-headers vmlinux |
> > - gawk -f ./source/scripts/elf_file_offset \
> > + gawk -f ./scripts/elf_file_offset \
>
> I think that would break with object dirs (which was what I used),
> because the scripts there only has some executables.
>
> Really need ${srcdir}, but it would need to be exported first.
>
> This should work:

Yes. The patch fixes the issue.
Thanks.

--
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/