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.jourd...@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
signature.asc
Description: PGP signature
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto