Skip to content
Commit ef7cfd00 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: fix false positive warning/error about missing libelf

For the same reason as commit 25896d07 ("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: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Reported-by: default avatarBernd Edlinger <bernd.edlinger@hotmail.de>
Reported-by: default avatarQian Cai <cai@lca.pw>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: default avatarQian Cai <cai@lca.pw>
parent ccda4af0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment