summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-04-30 09:35:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-01 21:57:34 +0100
commit1a4c1c855775ee37ba8019df2283161b5b41dbaa (patch)
treeb5219eda3ca8174403f21187e0eb69c4b80fe32e /meta/recipes-devtools/qemu/qemu.inc
parentfc023a69a25468b4249554c6f52b039471c3b786 (diff)
downloadpoky-1a4c1c855775ee37ba8019df2283161b5b41dbaa.tar.gz
qemu: Add packageconfig for libbpf support
its in auto mode, which is troublesome particularly on native recipe where it pokes at build host to find this library if its not in native sysroot and when build host has libbpf installed it enables it silently otherwise disables the support. so lets make it deterministic, and if one needs to enable this feature then enable the packageconfig intentionally, It was found when trying to solve this QA warning Skipping RPATH /usr/lib64 as is a standard search path for /mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0- r0/sysroot-destdir/mnt/b/yoe/master/build/tmp/work/x86_64-linux/qemu-system-native/6.2.0-r0/recipe-sysroot-native/usr/bin/qemu-system-x86_64 This is becasue qemu's build system adds the needed flags to -rpath for the libraries it needs and in this case it has found libbpf.so in /usr/lib64 on build host. (From OE-Core rev: 3d493928b7c98ab11b5d8c50924b1a2c464bf7f5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 09a2d47005..0aaeaa1cb5 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -197,6 +197,7 @@ PACKAGECONFIG[libnfs] = "--enable-libnfs,--disable-libnfs,libnfs"
197PACKAGECONFIG[pmem] = "--enable-libpmem,--disable-libpmem,pmdk" 197PACKAGECONFIG[pmem] = "--enable-libpmem,--disable-libpmem,pmdk"
198PACKAGECONFIG[pulsedio] = "--enable-pa,--disable-pa,pulseaudio" 198PACKAGECONFIG[pulsedio] = "--enable-pa,--disable-pa,pulseaudio"
199PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux" 199PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
200PACKAGECONFIG[bpf] = "--enable-bpf,--disable-bpf,libbpf"
200 201
201INSANE_SKIP:${PN} = "arch" 202INSANE_SKIP:${PN} = "arch"
202 203