[OE-core] [PATCH 40/43] waffle: supprt build waffle without x11

Adrian Bunk bunk at stusta.de
Sat May 4 16:09:56 UTC 2019


On Sat, May 04, 2019 at 08:27:16AM -0700, Armin Kuster wrote:
> From: Changqing Li <changqing.li at windriver.com>
> 
> respect DISTRO_FEATURES to make waffle support different platform,
> gbm platform is supported by default.
> 
> [YOCTO #6077]
> 
> Signed-off-by: Changqing Li <changqing.li at windriver.com>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
> Signed-off-by: Armin Kuster <akuster808 at gmail.com>
> ---
>  meta/recipes-graphics/waffle/waffle_1.5.2.bb | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/meta/recipes-graphics/waffle/waffle_1.5.2.bb b/meta/recipes-graphics/waffle/waffle_1.5.2.bb
> index 43c3edc..31572f2 100644
> --- a/meta/recipes-graphics/waffle/waffle_1.5.2.bb
> +++ b/meta/recipes-graphics/waffle/waffle_1.5.2.bb
> @@ -15,10 +15,9 @@ inherit cmake distro_features_check lib_package
>  
>  # This should be overridden per-machine to reflect the capabilities of the GL
>  # stack.
> -PACKAGECONFIG ??= "glx"
> -
> -# libx11 requires x11 in DISTRO_FEATURES.
> -REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'glx', 'x11', '', d)}"
> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11-egl', '', d)} \
> +                   ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
> +                   gbm"
>...

Changing the default PACKAGECONFIG does not look appropriate for
a stable branch.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Openembedded-core mailing list