[PATCH 0/2] objtool: fix libelf detection in non-standard locations
From: Robin Jarry
Date: Fri Feb 23 2018 - 09:23:06 EST
When libelf headers and libs are not in standard locations, the check
fails and host flags are ignored.
I have encountered this issue when building linux into the buildroot
framework. host-* versions of libs may be compiled and installed in a
host staging dir removing the need to install them on the build system.
Comments are welcome.
Regards,
Robin Jarry (2):
kbuild: introduce HOST_EXTRALDFLAGS
objtool: use host flags to detect if libelf is missing
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--
2.11.0