On Wed, 30 Oct 2024 at 12:34, freddy.boman via Lists.Yoctoproject.Org
<freddy.boman=bastec...@lists.yoctoproject.org> wrote:
> I tried building nativesdk-qemu directly without doing the whole populate_sdk 
> based on our distro.
> Same result. Looks like nativesdk-virglrenderer is not built or installed. 
> Looking in the recipe for qemu I can not find virglrenderer explicitly set as 
> a dependency anywhere.
> Not really any other dependencies set there either. Assuming its done 
> somewhere else.
> There is however a part that makes sure to remove virglrenderer (and some 
> other bits) if the system cannot support it.

virglrenderer is pulled into qemu's sysroot via PACKAGECONFIG
settings. The last field is what gets appended to DEPENDS if
virglrenderer is in PACKAGECONFIG:
meta/recipes-devtools/qemu/qemu.inc:PACKAGECONFIG[virglrenderer] =
"--enable-virglrenderer,--disable-virglrenderer,virglrenderer"

Let's inspect the output of 'bitbake -e nativesdk-qemu'. This is how
it looks for me:

- DEPENDS should include nativesdk-virglrenderer, something like this:
DEPENDS="bison-native chrpath-replacement-native nativesdk-glib-2.0
meson-native nativesdk-dtc nativesdk-libepoxy nativesdk-libsdl2
nativesdk-libslirp nativesdk-virglrenderer ninja-native
nativesdk-pixman pkgconfig-native python3-native
virtual/nativesdk-libc
virtual/nativesdk-x86_64-pokysdk-linux-compilerlibs
virtual/x86_64-pokysdk-linux-gcc nativesdk-zlib"

- EXTRA_OECONF should include --enable-viglrenderer
(too long to copy paste)

- PACKAGECONFIG should include virglrenderer:
PACKAGECONFIG="fdt sdl kvm pie slirp     virglrenderer epoxy "

Do all three conditions hold true for your side? If they do, then
content of nativesdk-virglrenderer's ${WORKDIR}/sysroot-destdir/
should be in nativesdk-qemu's sysroot, so you can inspect what that
content is, and does it arrive to qemu's ${WORKDIR}/recipe-sysroot/.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64180): https://lists.yoctoproject.org/g/yocto/message/64180
Mute This Topic: https://lists.yoctoproject.org/mt/109275322/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to