package/weston: do not select rpi-userland
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 20 Dec 2014 18:22:41 +0000 (19:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 20 Dec 2014 20:47:00 +0000 (21:47 +0100)
rpi-userland is a provider for some virtual packages, so we can not
select it, as instructed in the manual:

    http://nightly.buildroot.org/#_infrastructure_for_virtual_packages

    ---8<---
    If your package really requires a specific provider, then you’ll
    have to make your package depends on this provider; you can not select a
    provider.
    ---8<---

Instead, just depend on it. Remove the comment as well.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/weston/Config.in

index 5fff5bd861051c19ae3aada71e39686be1aead71..49130b4f92a3f4987919e475f023ad72606d59a2 100644 (file)
@@ -40,17 +40,10 @@ config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
 config BR2_PACKAGE_WESTON_FBDEV
        bool "fbdev compositor"
 
-comment "RPi compositor needs a toolchain w/ C++, largefile, threads"
-       depends on BR2_arm
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
-
+# rpi-userland is an EGL/GLES provider, so we can't select it
 config BR2_PACKAGE_WESTON_RPI
        bool "RPi compositor"
-       depends on BR2_arm                      # rpi-userland
-       depends on BR2_INSTALL_LIBSTDCPP        # rpi-userland
-       depends on BR2_LARGEFILE                # rpi-userland
-       depends on BR2_TOOLCHAIN_HAS_THREADS    # rpi-userland
-       select BR2_PACKAGE_RPI_USERLAND
+       depends on BR2_PACKAGE_RPI_USERLAND
        select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
 
 endif