diff options
author | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2013-10-14 19:13:27 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-10-14 22:13:05 +0200 |
commit | 6d8998033fdbbcb513120f6ca5a1c9d2daf026ff (patch) | |
tree | a4343c41a57ad4e90c2e147ed3a9adcd1da4d8fa | |
parent | 1c5ff4981c44bd933bf620f2c761133e14abe6dc (diff) | |
download | buildroot-6d8998033fdbbcb513120f6ca5a1c9d2daf026ff.tar.gz buildroot-6d8998033fdbbcb513120f6ca5a1c9d2daf026ff.zip |
weston: improve selection of compositor
The way the compositor was selected in Config.in was counter-intuitive,
because the fbdev backend is selected by default even if a different one
is available.
Instead, select the fbdev backend only if no other one was selected by
the user.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr: don't reorder entries, keep alphabetical sort]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/weston/Config.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/package/weston/Config.in b/package/weston/Config.in index 4532c28a2d..2cd5ced060 100644 --- a/package/weston/Config.in +++ b/package/weston/Config.in @@ -14,6 +14,8 @@ config BR2_PACKAGE_WESTON depends on BR2_TOOLCHAIN_HAS_THREADS # wayland # Runtime dependency select BR2_PACKAGE_XKEYBOARD_CONFIG + # Make sure at least one compositor is selected. + select BR2_PACKAGE_WESTON_FBDEV if !BR2_PACKAGE_WESTON_HAS_COMPOSITOR help Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. @@ -24,17 +26,12 @@ config BR2_PACKAGE_WESTON if BR2_PACKAGE_WESTON -# These two options make sure at least one compositor is selected. +# Helper to make sure at least one compositor is selected. config BR2_PACKAGE_WESTON_HAS_COMPOSITOR bool -config BR2_PACKAGE_WESTON_NEEDS_ONE_COMPOSITOR - def_bool y - depends on ! BR2_PACKAGE_WESTON_HAS_COMPOSITOR - select BR2_PACKAGE_WESTON_FBDEV config BR2_PACKAGE_WESTON_FBDEV bool "fbdev compositor" - default y config BR2_PACKAGE_WESTON_RPI bool "RPi compositor" |