RFC Use host-libbpf for host-pahole.
Status from this message: Applied both to master, thanks. In the second commit, I also reworded the
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 1 replyApplied
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | package/libbpf: build for hostpackage/ | +25 | 1 reply | |
| 2/2 | package/pahole: use commit 73383b3a39afpackage/ package/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [RFC PATCH v1 0/2] Use host-libbpf for host-pahole.
Hi.
Following a failed build involving libbpf, Thomas Pettazzoni suggested me to remove git submodule from host-pahole to build it the "buildroot way".
So, in this contribution, I first added host recipe to libbpf. Then, I removed git submobule used by host-pahole to get libbpf to instead use host-libbpf.
I was able to build and run a qemu image:
Welcome to Buildroot
buildroot login: root
# zcat /proc/config.gz | grep BTF CONFIG_DEBUG_INFO_BTF=y CONFIG_PAHOLE_HAS_SPLIT_BTF=y CONFIG_DEBUG_INFO_BTF_MODULES=y
Nonetheless, I am not really happy with this contribution as I had to add a bad tweak removing a header file installed by host-libbpf to avoid a kernel build error:
So, I marked this contribution as RFC to get your opinions about it.
Francis Laniel (2):
package/libbpf: build for host
package/pahole: use commit 73383b3a39af
linux/linux.mk | 11 +++++++++++ package/libbpf/libbpf.mk | 7 +++++++ package/pahole/pahole.hash | 2 +- package/pahole/pahole.mk | 14 +++++++------- 4 files changed, 26 insertions(+), 8 deletions(-)
Best regards and thank you in advance.
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot