Re: [PATCH] kbuild: fix false positive warning/error about missing libelf

From: Masahiro Yamada
Date: Wed Dec 19 2018 - 21:00:50 EST


On Tue, Dec 18, 2018 at 11:35 PM Qian Cai <cai@xxxxxx> wrote:
>
> On Tue, 2018-12-18 at 14:25 +0900, Masahiro Yamada wrote:
> > For the same reason as commit 25896d073d8a ("x86/build: Fix compiler
> > support check for CONFIG_RETPOLINE"), you cannot put this $(error ...)
> > into the parse stage of the top Makefile.
> >
> > Perhaps I'd propose a more sophisticated solution later, but this is
> > the best I can do for now.
> >
> > Link: https://lkml.org/lkml/2017/12/25/211
> > Reported-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
> > Reported-by: Bernd Edlinger <bernd.edlinger@xxxxxxxxxx>
> > Reported-by: Qian Cai <cai@xxxxxx>
> > Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
> > Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> > ---
> >
>
> Tested-by: Qian Cai <cai@xxxxxx>


Applied to linux-kbuild/fixes.



--
Best Regards
Masahiro Yamada