Skip to contentSkip to conversation

poky.conf: enable Wayland DISTRO_FEATURE

PATCH In review Ross Burton 4 participants 4 messages Mar 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 poky.conf: enable Wayland DISTRO_FEATURE

Without the Wayland feature you don't get the Wayland EGL platform built into Mesa, so Poky can't be used to test Wayland or Weston properly out of the box.

---
 meta-yocto/conf/distro/poky.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto/conf/distro/poky.conf +1 -1
index f146f5f..afe328b 100644
@@ -11,7 +11,7 @@ TARGET_VENDOR = "-poky"
 LOCALCONF_VERSION = "1"
 LAYER_CONF_VERSION ?= "6"
 
-DISTRO_FEATURES_append = " largefile opengl multiarch"
+DISTRO_FEATURES_append = " largefile opengl multiarch wayland"
 
 PREFERRED_VERSION_linux-yocto ?= "3.4%"
 PREFERRED_VERSION_linux-yocto_qemux86 ?= "3.8%"
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 16 lines · Ross Burton

Without the Wayland feature you don't get the Wayland EGL platform built into
Mesa, so Poky can't be used to test Wayland or Weston properly out of the box.

---
 meta-yocto/conf/distro/poky.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-yocto/conf/distro/poky.conf +0 -0
index f146f5f..afe328b 100644

meta-yocto/conf/distro/poky.conf TARGET_VENDOR = "-poky" · line 15

Quoted 6 lines
meta-yocto/conf/distro/poky.conf +1 -1
@@ -11,7 +11,7 @@ TARGET_VENDOR = "-poky"
 LOCALCONF_VERSION = "1"
 LAYER_CONF_VERSION ?= "6"
 
-DISTRO_FEATURES_append = " largefile opengl multiarch"
+DISTRO_FEATURES_append = " largefile opengl multiarch wayland"
 

This reminds me, could we make this overridable? There are distros which are based on poky, but might want to tweak the supported features. Perhaps these features could be shoved into a separate variable and _append that, or just use +=.

Signature · 1 line
Christopher Larson
#2 lore raw
Quoted 22 lines · Chris Larson

On Wed, Mar 27, 2013 at 6:59 AM, Ross Burton <[email protected]> wrote:
Without the Wayland feature you don't get the Wayland EGL platform built into
Mesa, so Poky can't be used to test Wayland or Weston properly out of the box.

---
meta-yocto/conf/distro/poky.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf index f146f5f..afe328b 100644
--- a/meta-yocto/conf/distro/poky.conf +++ b/meta-yocto/conf/distro/poky.conf @@ -11,7 +11,7 @@ TARGET_VENDOR = "-poky"
LOCALCONF_VERSION = "1" LAYER_CONF_VERSION ?= "6"

Quoted 8 lines

-DISTRO_FEATURES_append = " largefile opengl multiarch" +DISTRO_FEATURES_append = " largefile opengl multiarch wayland"

This reminds me, could we make this overridable? There are distros which are based on poky, but might want to tweak the supported features. Perhaps these features could be shoved into a separate variable and _append that, or just use +=.

Sounds fine, please send a patch. There was some good reason for using _append iirc.

Cheers,

Richard

#3 lore raw
Quoted 27 lines · Richard Purdie
Quoted 26 lines · Chris Larson

On Wed, Mar 27, 2013 at 6:59 AM, Ross Burton <[email protected]> wrote:
Without the Wayland feature you don't get the Wayland EGL platform built into
Mesa, so Poky can't be used to test Wayland or Weston properly out of the box.

---
meta-yocto/conf/distro/poky.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf index f146f5f..afe328b 100644
--- a/meta-yocto/conf/distro/poky.conf +++ b/meta-yocto/conf/distro/poky.conf @@ -11,7 +11,7 @@ TARGET_VENDOR = "-poky"
LOCALCONF_VERSION = "1" LAYER_CONF_VERSION ?= "6"

-DISTRO_FEATURES_append = " largefile opengl multiarch" +DISTRO_FEATURES_append = " largefile opengl multiarch wayland"

Quoted 7 lines
Quoted 4 lines

This reminds me, could we make this overridable? There are distros which are based on poky, but might want to tweak the supported features. Perhaps these features could be shoved into a separate variable and _append that, or just use +=.

Sounds fine, please send a patch. There was some good reason for using _append iirc.

I guess it was to use weak assignment from default-distrovars.inc instead of replacing it with only these 3.

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]