[meta-freescale] Disable Wayland on a build.

Otavio Salvador otavio at ossystems.com.br
Fri Aug 16 08:16:14 PDT 2013


On Wed, Aug 14, 2013 at 7:55 AM, Diego <diego.ml at zoho.com> wrote:
> In data martedì 13 agosto 2013 15:27:54, Otavio Salvador ha scritto:
>> On Tue, Aug 13, 2013 at 2:19 PM, Diego <diego.ml at zoho.com> wrote:
>> > Hi everybody.
>> >
>> > I'm hitting this build problem:
>> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=5007
>> >
>> > Discussing with Otavio it is probably related to Wayland and this patch:
>> > http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?h=master-ne
>> > xt&id=20d7652906491f5b1851b979dc6ab174a835197b
>> >
>> > I'm seeing that Wayland is in DISTRO_FEATURES:
>> > http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto/conf/distro
>> > /poky.conf#n15
>> >
>> > Is there a way to disable it in local.conf?
>>
>> http://privatepaste.com/378a2494e4
>>
>> You need the above patch. Saul, has this been queued?
>
> Hi Otavio,
>
> I had to make the assignment conditional:
> POKY_DEFAULT_DISTRO_FEATURES ?= "largefile opengl multiarch wayland"
> to be able to override it in my build/conf/local.conf file.
>
> Back to the original topic: removing wayland from the DISTRO_FEATURES allows
> mesa-demos to build correctly, so the cause of the problem is this patch:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/?id=20d7652906491f5b1851b979dc6ab174a835197b
> It fixes Wayland only builds, but breaks X11 + Wayland builds (as in EGL-X11
> packages are not able to build against Wayland's libEGL.so in that case).

X11 + Wayland is not supported by Vivante GPU.

You should override the DISTRO_FEATURES completely. I sent two patches for it:

http://patchwork.openembedded.org/patch/55895/
http://patchwork.openembedded.org/patch/55893/

These should make it easier. Please look at commitlog for use example.

Regards,

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the meta-freescale mailing list