Re: [PATCH] kbuild: fix call to adjust_autoksyms.sh when output directory specified

From: Nicolas Pitre
Date: Mon Apr 25 2016 - 12:01:17 EST


On Mon, 25 Apr 2016, Nicolas Ferre wrote:

> When a different output directory is specified during the build process (with
> O= or KBUILD_OUTPUT), the call to adjust_autoksyms.sh script fails with the
> following error:
> /bin/sh scripts/adjust_autoksyms.sh \
> "make KBUILD_MODULES=1 -f ../Makefile autoksyms_recursive"
> /bin/sh: scripts/adjust_autoksyms.sh: No such file or directory
> make[2]: *** [vmlinux] Error 127
> make[1]: *** [sub-make] Error 2
> make: *** [__sub-make] Error 2
[...]

I posted a few fixes for this and some other issues already.

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


Nicolas