qemu: disbale AF_XDP network backend support

This fix some host contaminations issues:
| /poky/build/tmp/hosttools/ld.bfd: libcommon.fa.p/net_af-xdp.c.o: undefined reference to symbol 'bpf_xdp_detach@@LIBBPF_0.7.0'
| /poky/build/tmp/hosttools/ld.bfd: /usr/lib/libbpf.so.1: error adding symbols: DSO missing from command line
| collect2: error: ld returned 1 exit status

The AF_XDP network backend support [1] requires the libxdp that is not
available in any layer, otherwise you can configure this option:
| PACKAGECONFIG[af-xdp] = "--enable-af-xdp,--disable-af-xdp,libxdp"

[1] cb039ef3d9

(From OE-Core rev: c2524614e49aee95b23d7bc162b1a30dee8cf59c)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jose Quaresma
2024-02-14 13:43:24 +00:00
committed by Richard Purdie
parent 54f660a5f6
commit 46fb0082dd

View File

@@ -126,6 +126,7 @@ EXTRA_OECONF = " \
--disable-download \
--disable-docs \
--host-cc='${BUILD_CC}' \
--disable-af-xdp \
${PACKAGECONFIG_CONFARGS} \
"