Hi Khem,
On 3/25/26 5:26 PM, Khem Raj wrote:
On Wed, Mar 25, 2026 at 7:53 AM Quentin Schulz <[email protected]>
wrote:
Hi Khem,
On 3/25/26 3:46 PM, Khem Raj via lists.openembedded.org wrote:
On Wed, Mar 25, 2026 at 5:52 AM Alexander Kanavin <
[email protected]>
wrote:
On Wed, 25 Mar 2026 at 08:40, Khem Raj via lists.openembedded.org
<[email protected]> wrote:
Fix do_compile failure:
../sources/mesa-26.0.1/src/panfrost/lib/kmod/pan_kmod.c:7:10: fatal
error: xf86drm.h: No such file or directory
-DEPENDS += "libclc-native spirv-tools-native
spirv-llvm-translator-native"
+DEPENDS += "libclc-native spirv-tools-native
spirv-llvm-translator-native libdrm-native"
Should this be in PACKAGECONFIG for panfrost?
I have opengl-only image to build for odroid-c4 which does not have
panfrost.
It "has", due to building mesa-tools-native which enables building
panfrost tools unconditionally.
panfrost PACKAGECONFIG may enable building the gallium driver (if
combined with gallium PACKAGECONFIG), the vulkan (panvk) driver (if
combined with vulkan PACKAGECONFIG) and/or the panfrost tools (if
combined with tools PACKAGECONFIG).
So it's a missing dependency for the panfrost tools and should be added
as dependency to the panfrost tools (see my other mail). I don't think
you need it if you're not building the panfrost tools.
It uses mali binary driver not lima, and panfrost is not in distro features
or packageconfig for mesa-gl
The error is in mesa-tools-native and you're fixing the
mesa-tools-native here, not mesa-gl.
You **are** building the panfrost tools, unconditionally when building
mesa-tools-native. This is a deliberate choice, see
https://git.openembedded.org/openembedded-core/tree/meta/recipes-graphics/mesa/mesa-tools-native.bb#n6
I'm not sure what brings mesa-tools-native in the first place for you as
it's brought in when libclc PACKAGECONFIG is selected in a target or
native mesa recipe (excluding mesa-tools-native).
mesa-gl brings this in but only for x86 (see the various
PACKAGECONFIG:append: in mesa-gl.bb).
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233925):
https://lists.openembedded.org/g/openembedded-core/message/233925
Mute This Topic: https://lists.openembedded.org/mt/118497550/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-