package/cog: add weston direct display support
Enable optional weston direct display support when weston is available. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Reviewed-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d4b915dc4f
commit
8be98902e8
@ -14,11 +14,17 @@ COG_LICENSE_FILES = COPYING
|
||||
COG_CONF_OPTS = \
|
||||
-DCOG_BUILD_PROGRAMS=ON \
|
||||
-DCOG_PLATFORM_HEADLESS=ON \
|
||||
-DCOG_WESTON_DIRECT_DISPLAY=OFF \
|
||||
-DINSTALL_MAN_PAGES=OFF \
|
||||
-DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))' \
|
||||
-DUSE_SOUP2=ON
|
||||
|
||||
ifeq ($(BR2_PACKAGE_WESTON),y)
|
||||
COG_CONF_OPTS += -DCOG_WESTON_DIRECT_DISPLAY=ON
|
||||
COG_DEPENDENCIES += weston
|
||||
else
|
||||
COG_CONF_OPTS += -DCOG_WESTON_DIRECT_DISPLAY=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y)
|
||||
COG_CONF_OPTS += -DCOG_PLATFORM_WL=ON
|
||||
COG_DEPENDENCIES += libxkbcommon wayland-protocols
|
||||
|
Loading…
Reference in New Issue
Block a user