]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitb21aa48b082cf37cc8e753d5581caeaaecc6082f
tree71c5d271a7c430cea183bd0a55caed0d63f95fb6
parent59389d6634be4521ead89e23015e5e03f6ca1250
kbuild: fix false positive warning/error about missing libelf

BugLink: https://bugs.launchpad.net/bugs/1837477
[ 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>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Makefile