* [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND
@ 2016-12-30 16:22 Romain Naour
2016-12-30 16:22 ` [Buildroot] [PATCH 2/2] package/efl: enable Wayland support if selectable Romain Naour
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Romain Naour @ 2016-12-30 16:22 UTC (permalink / raw)
To: buildroot
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 <romain.naour@gmail.com>
---
package/efl/Config.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/efl/Config.in b/package/efl/Config.in
index c51fc56..f6ec579 100644
--- a/package/efl/Config.in
+++ b/package/efl/Config.in
@@ -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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] package/efl: enable Wayland support if selectable
2016-12-30 16:22 [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND Romain Naour
@ 2016-12-30 16:22 ` Romain Naour
2016-12-30 17:51 ` [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND Gustavo Sverzut Barbieri
2017-01-17 3:43 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Romain Naour @ 2016-12-30 16:22 UTC (permalink / raw)
To: buildroot
If all the dependencies are available to select the efl wayland
support, enable it by default.
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
package/efl/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/efl/Config.in b/package/efl/Config.in
index f6ec579..39a6303 100644
--- a/package/efl/Config.in
+++ b/package/efl/Config.in
@@ -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
--
2.9.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND
2016-12-30 16:22 [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND Romain Naour
2016-12-30 16:22 ` [Buildroot] [PATCH 2/2] package/efl: enable Wayland support if selectable Romain Naour
@ 2016-12-30 17:51 ` Gustavo Sverzut Barbieri
2017-01-17 3:43 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Gustavo Sverzut Barbieri @ 2016-12-30 17:51 UTC (permalink / raw)
To: buildroot
On Fri, Dec 30, 2016 at 2:22 PM, Romain Naour <romain.naour@gmail.com> wrote:
> 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 <romain.naour@gmail.com>
Reviewed-by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
> ---
> package/efl/Config.in | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/efl/Config.in b/package/efl/Config.in
> index c51fc56..f6ec579 100644
> --- a/package/efl/Config.in
> +++ b/package/efl/Config.in
> @@ -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
--
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN, GTalk, FaceTime: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (16) 99354-9890
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND
2016-12-30 16:22 [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND Romain Naour
2016-12-30 16:22 ` [Buildroot] [PATCH 2/2] package/efl: enable Wayland support if selectable Romain Naour
2016-12-30 17:51 ` [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND Gustavo Sverzut Barbieri
@ 2017-01-17 3:43 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-01-17 3:43 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 30 Dec 2016 17:22:49 +0100, Romain Naour wrote:
> 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 <romain.naour@gmail.com>
> ---
> package/efl/Config.in | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-01-17 3:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-30 16:22 [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND Romain Naour
2016-12-30 16:22 ` [Buildroot] [PATCH 2/2] package/efl: enable Wayland support if selectable Romain Naour
2016-12-30 17:51 ` [Buildroot] [PATCH 1/2] package/efl: use "depends on" instead of "select" BR2_PACKAGE_EFL_WAYLAND Gustavo Sverzut Barbieri
2017-01-17 3:43 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox