* [Buildroot] [PATCH v2 1/1] Added config option to expose browser remote control on the D-Bus system bus
@ 2021-03-16 9:47 Adrian Sweet
2021-03-16 21:08 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Sweet @ 2021-03-16 9:47 UTC (permalink / raw)
To: buildroot
Signed-off-by: Adrian Sweet <asweet@thegoodpenguin.co.uk>
---
package/cog/Config.in | 5 +++++
package/cog/cog.mk | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/package/cog/Config.in b/package/cog/Config.in
index a9ca7473a9..534d3adebc 100644
--- a/package/cog/Config.in
+++ b/package/cog/Config.in
@@ -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 "Use D-Bus system bus"
+ 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
diff --git a/package/cog/cog.mk b/package/cog/cog.mk
index c7fc5e6fee..86bdf935d2 100644
--- a/package/cog/cog.mk
+++ b/package/cog/cog.mk
@@ -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))
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2 1/1] Added config option to expose browser remote control on the D-Bus system bus
2021-03-16 9:47 [Buildroot] [PATCH v2 1/1] Added config option to expose browser remote control on the D-Bus system bus Adrian Sweet
@ 2021-03-16 21:08 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-03-16 21:08 UTC (permalink / raw)
To: buildroot
Hello Adrian,
On Tue, 16 Mar 2021 09:47:27 +0000
Adrian Sweet <asweet@thegoodpenguin.co.uk> wrote:
> Signed-off-by: Adrian Sweet <asweet@thegoodpenguin.co.uk>
> ---
> package/cog/Config.in | 5 +++++
> package/cog/cog.mk | 6 ++++++
> 2 files changed, 11 insertions(+)
Thanks a lot, I have applied your patch. There were a few minor issues
though: the indentation in the Config.in file was not correct (this is
spotted by running "make check-package") and the commit title was
missing the package name as a prefix. I fixed that up when applying.
Thanks again!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-16 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 9:47 [Buildroot] [PATCH v2 1/1] Added config option to expose browser remote control on the D-Bus system bus Adrian Sweet
2021-03-16 21:08 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.