package/weston: add configuration options for weston shells
PATCH v2 1/1 package/weston: add configuration options for weston shells
Enable selection of used weston shells. By default all available shells are enabled to keep the old behavior. The new configuration options enable the user to select them individually.
---
Changes v1->v2:
- Show comment if no shell is selected
--- package/weston/Config.in | 27 +++++++++++++++++++++++++++ package/weston/weston.mk | 24 ++++++++++++++++++++++++ 2 files changed, 51 insertions(+)
package/weston/Config.in +27 -0
@@ -119,6 +119,33 @@ config BR2_PACKAGE_WESTON_XWAYLAND comment "XWayland support needs libepoxy and X.org enabled" depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY +config BR2_PACKAGE_WESTON_SHELL_DESKTOP + bool "desktop shell" + default y + select BR2_PACKAGE_WESTON_SHELL_SELECTED + +config BR2_PACKAGE_WESTON_SHELL_FULLSCREEN + bool "fullscreen shell" + default y + select BR2_PACKAGE_WESTON_SHELL_SELECTED + +config BR2_PACKAGE_WESTON_SHELL_IVI + bool "ivi shell" + default y + select BR2_PACKAGE_WESTON_SHELL_SELECTED + +config BR2_PACKAGE_WESTON_SHELL_KIOSK + bool "kiosk shell" + default y + select BR2_PACKAGE_WESTON_SHELL_SELECTED + +# Hidden option selected by any westen shell +config BR2_PACKAGE_WESTON_SHELL_SELECTED + bool + +comment "Warning: Weston needs at least one shell selected" + depends on !BR2_PACKAGE_WESTON_SHELL_SELECTED + config BR2_PACKAGE_WESTON_DEMO_CLIENTS bool "demo clients" depends on BR2_USE_MMU # pango
package/weston/weston.mk +24 -0
@@ -133,6 +133,30 @@ else WESTON_CONF_OPTS += -Dtest-junit-xml=false endif +ifeq ($(BR2_PACKAGE_WESTON_SHELL_DESKTOP),y) +WESTON_CONF_OPTS += -Dshell-desktop=true +else +WESTON_CONF_OPTS += -Dshell-desktop=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_FULLSCREEN),y) +WESTON_CONF_OPTS += -Dshell-fullscreen=true +else +WESTON_CONF_OPTS += -Dshell-fullscreen=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_IVI),y) +WESTON_CONF_OPTS += -Dshell-ivi=true +else +WESTON_CONF_OPTS += -Dshell-ivi=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_KIOSK),y) +WESTON_CONF_OPTS += -Dshell-kiosk=true +else +WESTON_CONF_OPTS += -Dshell-kiosk=false +endif + ifeq ($(BR2_PACKAGE_WESTON_DEMO_CLIENTS),y) WESTON_CONF_OPTS += -Ddemo-clients=true WESTON_DEPENDENCIES += pango
Signature · 1 line
2.30.2
PATCH v2 1/1 package/weston: add configuration options for weston shells
Martin, All,
On 2021-06-16 14:42 +0200, Martin Elshuber spake thusly:
Quoted 8 lines
Enable selection of used weston shells. By default all available shells are enabled to keep the old behavior. The new configuration options enable the user to select them individually.
Signed-off-by Martin Elshuber <[email protected]>---
Changesv1->v2:
- Show comment if no shell is selected
I've made a few changes:
- ensure at least one shell is enabled; desktop arbitrarily chosen
- s/BR2_PACKAGE_WESTON_SHELL_SELECTED/BR2_PACKAGE_WESTON_HAS_SHELL/
- reword associated comment
and applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 86 lines
Signed-off-by Martin Elshuber <[email protected]>--- package/weston/Config.in | 27 +++++++++++++++++++++++++++ package/weston/weston.mk | 24 ++++++++++++++++++++++++ 2 files changed, 51 insertions(+)package/weston/Config.in +27
-0@@ -119,6 +119,33 @@ config BR2_PACKAGE_WESTON_XWAYLAND comment "XWayland support needs libepoxy and X.org enabled" depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY +config BR2_PACKAGE_WESTON_SHELL_DESKTOP + bool "desktop shell" + default y + select BR2_PACKAGE_WESTON_SHELL_SELECTED + +config BR2_PACKAGE_WESTON_SHELL_FULLSCREEN + bool "fullscreen shell" + default y + select BR2_PACKAGE_WESTON_SHELL_SELECTED + +config BR2_PACKAGE_WESTON_SHELL_IVI + bool "ivi shell" + default y + select BR2_PACKAGE_WESTON_SHELL_SELECTED + +config BR2_PACKAGE_WESTON_SHELL_KIOSK + bool "kiosk shell" + default y + select BR2_PACKAGE_WESTON_SHELL_SELECTED + +# Hidden option selected by any westen shell +config BR2_PACKAGE_WESTON_SHELL_SELECTED + bool + +comment "Warning: Weston needs at least one shell selected" + depends on !BR2_PACKAGE_WESTON_SHELL_SELECTED + config BR2_PACKAGE_WESTON_DEMO_CLIENTS bool "demo clients" depends on BR2_USE_MMU # pangopackage/weston/weston.mk +24
-0@@ -133,6 +133,30 @@ else WESTON_CONF_OPTS += -Dtest-junit-xml=false endif +ifeq ($(BR2_PACKAGE_WESTON_SHELL_DESKTOP),y) +WESTON_CONF_OPTS += -Dshell-desktop=true +else +WESTON_CONF_OPTS += -Dshell-desktop=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_FULLSCREEN),y) +WESTON_CONF_OPTS += -Dshell-fullscreen=true +else +WESTON_CONF_OPTS += -Dshell-fullscreen=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_IVI),y) +WESTON_CONF_OPTS += -Dshell-ivi=true +else +WESTON_CONF_OPTS += -Dshell-ivi=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_KIOSK),y) +WESTON_CONF_OPTS += -Dshell-kiosk=true +else +WESTON_CONF_OPTS += -Dshell-kiosk=false +endif + ifeq ($(BR2_PACKAGE_WESTON_DEMO_CLIENTS),y) WESTON_CONF_OPTS += -Ddemo-clients=true WESTON_DEPENDENCIES += pangoSignature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'