Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/qt5/qt5base: add -syslog option
@ 2020-11-03 22:18 jzignego at hedcontrols.com
  2020-11-04 10:33 ` Peter Seiderer
  2020-11-04 18:12 ` [Buildroot] [PATCH v2 " jzignego at hedcontrols.com
  0 siblings, 2 replies; 5+ messages in thread
From: jzignego at hedcontrols.com @ 2020-11-03 22:18 UTC (permalink / raw)
  To: buildroot

From: Jeff Zignego <jzignego@hedcontrols.com>

When using sysvinit (or the busybox implementation) qt5 can output log
messages to the traditional syslog with the -syslog compile time
option. This is very similar to the -journald compile time option
already being leveraged in qt5base.mk

Signed-off-by: Jeff Zignego <jzignego@hedcontrols.com>
---
 package/qt5/qt5base/qt5base.mk | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index ed308c1fa2..d9b8ff279b 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -254,6 +254,20 @@ else
 QT5BASE_CONFIGURE_OPTS += -no-journald
 endif
 
+ifeq ($(BR2_PACKAGE_SYSVINIT),y)
+QT5BASE_CONIGURE_OPTS += -syslog
+QT5BASE_DEPENDENCIES += sysvinit
+else
+QT5BASE_CONFIGURE_OPTS += -no-syslog
+endif
+
+ifeq ($(BR2_PACKAGE_INIT_BUSYBOX),y)
+QT5BASE_CONIGURE_OPTS += -syslog
+QT5BASE_DEPENDENCIES += busybox
+else
+QT5BASE_CONFIGURE_OPTS += -no-syslog
+endif
+
 ifeq ($(BR2_PACKAGE_IMX_GPU_VIV),y)
 # use vivante backend
 QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_viv
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-07 13:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-03 22:18 [Buildroot] [PATCH 1/1] package/qt5/qt5base: add -syslog option jzignego at hedcontrols.com
2020-11-04 10:33 ` Peter Seiderer
2020-11-04 18:56   ` Jeff Zignego
2020-11-04 18:12 ` [Buildroot] [PATCH v2 " jzignego at hedcontrols.com
2020-11-07 13:46   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox