]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit - Makefile
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)
commitef7cfd00b2caf6edeb7f169682b64be2d0a798cf
tree3448db106a760f4c73a22c6d5353069bd3ae4770
parentccda4af0f4b92f7b4c308d3acc262f4a7e3affad
kbuild: fix false positive warning/error about missing libelf

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@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