From 0fbbbd886e2977e75b98b1d7fc32bac126aa0b77 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 7 Jun 2013 19:42:16 +0300 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/technical-details.xml | 52 ++++++++++++++++++-------- 1 file changed, 37 insertions(+), 15 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/technical-details.xml b/documentation/ref-manual/technical-details.xml index 6f36a3a0fa..0634f5702d 100644 --- a/documentation/ref-manual/technical-details.xml +++ b/documentation/ref-manual/technical-details.xml @@ -743,23 +743,45 @@ Enabling Wayland in an Image - This section talks about two different ways to enable Wayland: - to run under X11 (the default), or to run under Kernel Mode - Setting (KMS). + To enable Wayland, you need to enable it to be built and enable + it to be included in the image. - - I don't clearly understand the steps as they are described in the - Enable Wayland in an Image - section of the wiki. - I need help in understanding this section before I can complete - this first draft of the new section. - What I don't understand is what you have to do exactly for each - method. - The description in the wiki implies that you need to append the - "wayland" feature to use KMS/DRI as well as X11 (both). - I need some clarification and clearer steps for the user. - +
+ Building + + + To cause Mesa to build the wayland-egl + platform and Weston to build Wayland with Kernel Mode + Setting + (KMS) + support, include the "wayland" flag in the + DISTRO_FEATURES + statement in your local.conf file: + + DISTRO_FEATURES_append = " wayland" + + + + + If X11 has been enabled elsewhere, Weston will build Wayland + with X11 support + +
+ +
+ Installing + + + To install the Wayland feature into an image, you must + include the following + CORE_IMAGE_EXTRA_INSTALL + statement in your local.conf file: + + CORE_IMAGE_EXTRA_INSTALL += "wayland weston" + + +
-- cgit v1.2.3-54-g00ecf