]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Jan 2019 09:01:01 +0000 (10:01 +0100)
commitb08f331e84f75a2981350d3ee7452ea67412776d
tree675cebff849c4e49587140d57c1172e71698b132
parentbb2509c12bea9601f0637f815936e9562d3c3cbc
kbuild: fix false positive warning/error about missing libelf

[ Upstream commit ef7cfd00b2caf6edeb7f169682b64be2d0a798cf ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Makefile