]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: fix false positive warning/error about missing libelf
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 18 Dec 2018 05:25:41 +0000 (14:25 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 19 Dec 2018 15:04:15 +0000 (00:04 +0900)
commit4231cae33d9d7ddd73bc890322a6381beb61d085
tree3448db106a760f4c73a22c6d5353069bd3ae4770
parented8ca29a73ac7bcc0e390e8079a447e9ce562b85
kbuild: fix false positive warning/error about missing libelf

For the same reason as commit 2de0892016ed ("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@windriver.com>
Reported-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reported-by: Qian Cai <cai@lca.pw>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Qian Cai <cai@lca.pw>
Makefile