Commit 8c194124 authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Peter Korsgaard
Browse files

package/weston: introduce infrastructure to select other compositors

parent 6614f384
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -14,8 +14,6 @@ config BR2_PACKAGE_WESTON
	depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
	# Runtime dependency
	select BR2_PACKAGE_XKEYBOARD_CONFIG
	# Make sure at least one backend is selected
	select BR2_PACKAGE_WESTON_FBDEV
	help
	  Weston is the reference implementation of a Wayland
	  compositor, and a useful compositor in its own right.
@@ -26,7 +24,16 @@ config BR2_PACKAGE_WESTON

if BR2_PACKAGE_WESTON

# These two options make sure at least one compositor is selected.
config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
	bool
config BR2_PACKAGE_WESTON_NEEDS_ONE_COMPOSITOR
	def_bool y
	depends on ! BR2_PACKAGE_WESTON_HAS_COMPOSITOR
	select BR2_PACKAGE_WESTON_FBDEV

config BR2_PACKAGE_WESTON_FBDEV
	bool "fbdev compositor"
	default y

endif