Hi Andrei,

This is breaking non-Wayland builds... the second value in the
PACKAGECONFIG is the configure arguments for when the PACKAGECONFIG is
disabled.

I have sent a patch to fix it.

Regards,
Jonathan

On 13 April 2016 at 13:12, Andrei Gherzan <and...@gherzan.ro> wrote:
> On Fri, Apr 01, 2016 at 01:37:11PM +0200, Andrei Gherzan wrote:
>> Building wayland support requires availability of wayland-scanner to avoid
>> build errors like:
>>
>> | /bin/sh:
>> | 
>> /home/andrei/work/yocto/build-rpi-master/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner:
>> | No such file or directory
>>
>> Signed-off-by: Andrei Gherzan <and...@gherzan.ro>
>> ---
>>  recipes-graphics/userland/userland_git.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/recipes-graphics/userland/userland_git.bb 
>> b/recipes-graphics/userland/userland_git.bb
>> index ca9123e..536c3ec 100644
>> --- a/recipes-graphics/userland/userland_git.bb
>> +++ b/recipes-graphics/userland/userland_git.bb
>> @@ -45,7 +45,7 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release 
>> -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-a
>>
>>  PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 
>> 'wayland', '', d)}"
>>
>> -PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE 
>> -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland"
>> +PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE 
>> -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,wayland-native,wayland"
>>
>>  CFLAGS_append = " -fPIC"
>>
>> --
>> 2.7.4
>>
>
> Merged to master.
>
> --
> Andrei Gherzan
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to