[Q][PATCH 0/1] UBUNTU: [Packaging] Use host bpftool if doing cross-compiling

Zixing Liu zixing.liu at canonical.com
Tue Aug 12 01:49:04 UTC 2025


The bpftool binary compiled in the tree when cross-compiling will be for the
target architecture. To correctly generate the BTF data, host bpftool will be
used for running the generation process.

This process will be easier and more robust than using qemu-user to emulate
bpftool in the target build tree.

Zixing Liu (1):
  [Q][PATCH 1/1] UBUNTU: [Packaging] Use host bpftool if doing
    cross-compiling

 debian.master/control.stub.in   | 1 +
 debian/rules.d/2-binary-arch.mk | 8 +++++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.50.0




More information about the kernel-team mailing list