[yocto] [meta-raspberrypi][PATCH 6/8] Support for vc4 graphics driver: modify the wayland configuration for vc4

Andrei Gherzan andrei at gherzan.ro
Thu May 19 07:51:34 PDT 2016


On Wed, May 18, 2016 at 08:21:20PM +0800, Herve Jourdain wrote:
> This patch series enables the support for the VC4 graphics driver from Eric Anholt.
> Configure the configuration options for Wayland, depending on whether 'vc4graphics' is in MACHINE_FEATURES or not.
>
> Signed-off-by: Herve Jourdain <herve.jourdain at neuf.fr>
> ---
>  recipes-graphics/wayland/weston_%.bbappend | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
> index c3a7421..76bab9f 100644
> --- a/recipes-graphics/wayland/weston_%.bbappend
> +++ b/recipes-graphics/wayland/weston_%.bbappend
> @@ -1,4 +1,3 @@
> -EXTRA_OECONF_append_rpi = "\
> -        --enable-rpi-compositor \
> -        WESTON_NATIVE_BACKEND=rpi-backend.so \
> -       "
> +EXTRA_OECONF_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' --enable-rpi-compositor', d)}"
> +EXTRA_OECONF_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' WESTON_NATIVE_BACKEND=rpi-backend.so', d)}"

Wondering if having this in one line would be better.

--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160519/4146dee5/attachment.pgp>


More information about the yocto mailing list