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" + + +