Skip to contentSkip to conversation

package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND

PATCH New Romain Naour 3 participants 4 messages Dec 30, 2016 – Jan 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND

The efl Wayland support shouldn't selecte Wayland package itself. It must be an user decision, so use "depends on" instead.

---
 package/efl/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/efl/Config.in +2 -1
index c51fc56..f6ec579 100644
@@ -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
 
Signature · 1 line
2.9.3
#1 lore raw

PATCH 2/2 package/efl: enable Wayland support if selectable

If all the dependencies are available to select the efl wayland support, enable it by default.

---
 package/efl/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/efl/Config.in +1 -0
index f6ec579..39a6303 100644
@@ -162,6 +162,7 @@ config BR2_PACKAGE_EFL_WAYLAND
 	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
+	default y
 
 comment "Wayland support needs OpenGL ES w/ EGL, threads"
 	depends on BR2_PACKAGE_WAYLAND
Signature · 1 line
2.9.3
#2 lore raw

PATCH 1/2 package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND

In reply to Romain Naour
Quoted 4 lines · Romain Naour

The efl Wayland support shouldn't selecte Wayland package itself. It must be an user decision, so use "depends on" instead.

Quoted 31 lines
---
 package/efl/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/efl/Config.in +2 -2
index c51fc56..f6ec579 100644
@@ -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
 
--

2.9.3

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 6 lines
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN, GTalk, FaceTime: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (16) 99354-9890
#3 lore raw

PATCH 1/2 package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND

In reply to Romain Naour

Hello,

Quoted 7 lines · Romain Naour

The efl Wayland support shouldn't selecte Wayland package itself. It must be an user decision, so use "depends on" instead.

---
 package/efl/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com