]> 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)
commit1b04f90fc54b6b769e79eeadd9a08379bf357180
tree3448db106a760f4c73a22c6d5353069bd3ae4770
parent996d957f5298329c7984d90e790cf3b2f783bef0
kbuild: fix false positive warning/error about missing libelf

For the same reason as commit df7deb8fb44d ("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