[OE-core] [PATCH 3/3] Prepare mesa-dri for weston compatibility
Burton, Ross
ross.burton at intel.com
Fri Dec 21 10:53:26 UTC 2012
On 21 December 2012 10:10, Damian, Alexandru <alexandru.damian at intel.com> wrote:
> Mesa-dri provides these packages, why shouldn't we let the system know ?
Because build-time dependencies are expressed as source packages, not
binary packages. If you add them to mesa-dri then you'll have to
follow it up with a patch for every recipe that builds more than just
${PN}.
> Is there any way to prevent weston being built based on mesa-dri version ?
I don't see any reason to bother with that at the moment - we'll soon
have mesa 9.0.2 in oe-core so there won't be any problem.
>> I also don't see anything that adds a build-dependency on wayland for
>> the Wayland EGL backend to build successfully.
>
> It fails gracefully if wayland isn't selected.
mesa-dri needs wayland headers for the wayland backend to build, but
there isn't anything pulling in wayland if you enable the distro
feature.
All you need is:
+PACKAGECONFIG ??= "...
+ ${@base_contains('DISTRO_FEATURES', 'wayland',
'wayland', '', d)} \
+ "
+
+PACKAGECONFIG[wayland] = ",,wayland"
Ross
More information about the Openembedded-core
mailing list