egl: automatically compile the drm platform when available

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3161>
This commit is contained in:
Eric Engestrom
2019-06-25 15:44:16 +01:00
committed by Marge Bot
parent 60ad006b27
commit e00adef34a
4 changed files with 17 additions and 14 deletions

View File

@@ -49,11 +49,11 @@ time
``-D platforms=...``
List the platforms (window systems) to support. Its argument is a
comma separated string such as ``-D platforms=x11,drm``. It decides
comma separated string such as ``-D platforms=x11,wayland``. It decides
the platforms a driver may support. The first listed platform is also
used by the main library to decide the native platform.
The available platforms are ``x11``, ``drm``, ``wayland``,
The available platforms are ``x11``, ``wayland``,
``android``, and ``haiku``. The ``android`` platform
can either be built as a system component, part of AOSP, using
``Android.mk`` files, or cross-compiled using appropriate options.