package/cog: add config option to expose browser remote control on D-Bus system bus

Signed-off-by: Adrian Sweet <asweet@thegoodpenguin.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021.05.x
Adrian Sweet 2021-03-16 09:47:27 +00:00 committed by Thomas Petazzoni
parent f12ffc88a6
commit c62c8747bf
2 changed files with 11 additions and 0 deletions

View File

@ -47,6 +47,11 @@ config BR2_PACKAGE_COG_PLATFORM_DRM
with video drivers that support kernel mode-setting (KMS)
via the DRM user-space API.
config BR2_PACKAGE_COG_USE_SYSTEM_DBUS
bool "expose system D-Bus control interface"
help
Expose remote control interface on system bus
comment "DRM platform needs mesa3d w/ EGL driver and GBM"
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL

View File

@ -31,4 +31,10 @@ else
COG_CONF_OPTS += -DCOG_PLATFORM_DRM=OFF
endif
ifeq ($(BR2_PACKAGE_COG_USE_SYSTEM_DBUS),y)
COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=ON
else
COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=OFF
endif
$(eval $(cmake-package))