Re: [PATCH] kbuild: terminate Kconfig when $(CC) or $(LD) is missing

From: Joel Stanley
Date: Mon May 13 2019 - 00:22:29 EST


On Mon, 13 May 2019 at 02:50, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> > $ CROSS_COMPILE=foo make
> > make: foogcc: Command not found
> > scripts/kconfig/conf --syncconfig Kconfig
> > scripts/Kconfig.include:34: compiler 'foogcc' not found
> > make[2]: *** [scripts/kconfig/Makefile:69: syncconfig] Error 1
> > make[1]: *** [Makefile:557: syncconfig] Error 2
> > make: Failed to remake makefile 'include/config/auto.conf'.
> > You are building kernel with non-retpoline compiler.
> > Please update your compiler.
>
>
> I think you are seeing a different bug.
>
> Please test after applying this as well:
> https://patchwork.kernel.org/patch/10939845/

That did the trick. Thank you.

Cheers,

Joel