package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND
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
@@ -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
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
@@ -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
PATCH 1/2 package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND
In reply to Romain NaourQuoted 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.
Signed-off-by Romain Naour <[email protected]>
Quoted 31 lines
--- package/efl/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)package/efl/Config.in +2
-2@@ -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
Thomas Petazzoni
AppliedPATCH 1/2 package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND
In reply to Romain NaourHello,
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.
Signed-off-by Romain Naour <[email protected]>--- 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