package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND
authorRomain Naour <romain.naour@gmail.com>
Fri, 30 Dec 2016 16:22:49 +0000 (17:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 17 Jan 2017 03:23:26 +0000 (14:23 +1100)
The efl Wayland support shouldn't select Wayland package itself. It must
be an user decision, so use "depends on" instead.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/efl/Config.in

index c51fc564d4f0b5fb7aad859d402fcd463ff375aa..f6ec57954153b70de356d2050f6bacd6ea05fec6 100644 (file)
@@ -157,13 +157,14 @@ config BR2_PACKAGE_EFL_X_XLIB
 
 config BR2_PACKAGE_EFL_WAYLAND
        bool "Wayland support"
+       depends on BR2_PACKAGE_WAYLAND
        depends on BR2_TOOLCHAIN_HAS_THREADS # Evas DRM Engine -> libdrm
        depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # Evas DRM Engine
        depends on BR2_PACKAGE_EFL_OPENGLES # OpenGL ES with EGL support only
        select BR2_PACKAGE_EFL_DRM
-       select BR2_PACKAGE_WAYLAND
 
 comment "Wayland support needs OpenGL ES w/ EGL, threads"
+       depends on BR2_PACKAGE_WAYLAND
        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \
                || !BR2_PACKAGE_EFL_OPENGLES