On Sat, 2022-11-19 at 18:18 +0100, Björn Töpel wrote:
From: Björn Töpel bjorn@rivosinc.com
The selftests/net does not have proper cross-compilation support, and does not properly state libbpf as a dependency. Mimic/copy the BPF build from selftests/bpf, which has the nice side-effect that libbpf is built as well.
Signed-off-by: Björn Töpel bjorn@rivosinc.com
Now that BPF builds are starting to show up in more places (selftests/net, and soon selftests/hid), maybe it would be cleaner to move parts of the BPF builds to lib.mk?
+1 on such follow-up ;)
Thanks!
Paolo