mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
ref-manual: Wayland section review draft
Fixes YOCTO #3882 This is the review draft for the wayland section. (From yocto-docs rev: c29482b4c3e32a955c6372c05b0e4d89d13b085d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fb804f739e
commit
0fbbbd886e
@@ -743,23 +743,45 @@
|
|||||||
<title>Enabling Wayland in an Image</title>
|
<title>Enabling Wayland in an Image</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This section talks about two different ways to enable Wayland:
|
To enable Wayland, you need to enable it to be built and enable
|
||||||
to run under X11 (the default), or to run under Kernel Mode
|
it to be included in the image.
|
||||||
Setting (<ulink url='https://wiki.archlinux.org/index.php/Kernel_Mode_Setting'>KMS</ulink>).
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<section id="enable-building">
|
||||||
I don't clearly understand the steps as they are described in the
|
<title>Building</title>
|
||||||
<ulink url='https://wiki.yoctoproject.org/wiki/Wayland'>Enable Wayland in an Image</ulink>
|
|
||||||
section of the wiki.
|
<para>
|
||||||
I need help in understanding this section before I can complete
|
To cause Mesa to build the <filename>wayland-egl</filename>
|
||||||
this first draft of the new section.
|
platform and Weston to build Wayland with Kernel Mode
|
||||||
What I don't understand is what you have to do exactly for each
|
Setting
|
||||||
method.
|
(<ulink url='https://wiki.archlinux.org/index.php/Kernel_Mode_Setting'>KMS</ulink>)
|
||||||
The description in the wiki implies that you need to append the
|
support, include the "wayland" flag in the
|
||||||
"wayland" feature to use KMS/DRI as well as X11 (both).
|
<link linkend="var-DISTRO_FEATURES"><filename>DISTRO_FEATURES</filename></link>
|
||||||
I need some clarification and clearer steps for the user.
|
statement in your <filename>local.conf</filename> file:
|
||||||
</para>
|
<literallayout class='monospaced'>
|
||||||
|
DISTRO_FEATURES_append = " wayland"
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
If X11 has been enabled elsewhere, Weston will build Wayland
|
||||||
|
with X11 support
|
||||||
|
</note>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="enable-installation-in-an-image">
|
||||||
|
<title>Installing</title>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
To install the Wayland feature into an image, you must
|
||||||
|
include the following
|
||||||
|
<link linkend='var-CORE_IMAGE_EXTRA_INSTALL'><filename>CORE_IMAGE_EXTRA_INSTALL</filename></link>
|
||||||
|
statement in your <filename>local.conf</filename> file:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
CORE_IMAGE_EXTRA_INSTALL += "wayland weston"
|
||||||
|
</literallayout>
|
||||||
|
</para>
|
||||||
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="running-weston">
|
<section id="running-weston">
|
||||||
|
|||||||
Reference in New Issue
Block a user