Re: [PATCH 1/3] kbuild: call adjust_autoksyms.sh from source directory

From: Nicolas Pitre
Date: Mon Apr 25 2016 - 11:31:31 EST


On Mon, 25 Apr 2016, Arnd Bergmann wrote:

> On Monday 25 April 2016 10:18:56 Nicolas Pitre wrote:
> > On Mon, 25 Apr 2016, Arnd Bergmann wrote:
> >
> > > When building with separate object trees, scripts/adjust_autoksyms.sh
> > > cannot be called from the object directory:
> > >
> > > /bin/bash: scripts/adjust_autoksyms.sh: No such file or directory
> > >
> > > This adds a $(src) prefix, as we do for all other shell scripts.
> > >
> > > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> >
> > I posted fixes for all those problems already, plus another.
> >
> > You may grab them all at once from this branch where I committed them on
> > top of Michal's kbuild branch:
> >
> > git://git.linaro.org/people/nicolas.pitre/linux kbuild
> >
>
> Ok, thanks!
>
> I liked the idea of moving the samples from Documentation to samples,
> but with your patches that is no longer required to fix the bug.
>
> If the respective maintainers want to pick up my patches 2 and 3
> independent of your fixes, I can rewrite the changelogs for those,
> otherwise I'll just drop them all.

I agree this was a bit unexpected to have compiled code in the docs
directory. Whatever the reason, I didn't want autoksyms to interfere
here. Still, I think it is still a good idea you rewrite your changelog
to judge those patches in the context of the reasons for having code
there in the first place.


Nicolas