Skip to content

objtool: fix libelf detection in non-standard locations

Robin Jarry linux-kbuild lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kbuild: introduce HOST_EXTRALDFLAGSMakefile+1 -00 replies
2/2objtool: use host flags to detect if libelf is missingMakefile+1 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] objtool: fix libelf detection in non-standard locations

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(-)
Signature · 1 line
2.11.0