[Buildroot] [git commit] package/qt6/qt6base: add support for syslog backend
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Aug 29 19:54:17 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=c3c944e4214ad30f98e0dbc5e409b4c9e9aea71d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Jesse Van Gavere <jesseevg at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/qt6/qt6base/Config.in | 5 +++++
package/qt6/qt6base/qt6base.mk | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/package/qt6/qt6base/Config.in b/package/qt6/qt6base/Config.in
index 2d4a4df223..f3e56aefa4 100644
--- a/package/qt6/qt6base/Config.in
+++ b/package/qt6/qt6base/Config.in
@@ -35,6 +35,11 @@ config BR2_PACKAGE_QT6BASE_NETWORK
help
This options enables the Qt6Network library.
+config BR2_PACKAGE_QT6BASE_SYSLOG
+ bool "syslog support"
+ help
+ Logs to the standard UNIX logging mechanism.
+
config BR2_PACKAGE_QT6BASE_TEST
bool "test module"
help
diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk
index 36176367e5..6603d08bf1 100644
--- a/package/qt6/qt6base/qt6base.mk
+++ b/package/qt6/qt6base/qt6base.mk
@@ -111,5 +111,11 @@ else
QT6BASE_CONF_OPTS += -DFEATURE_xml=OFF
endif
+ifeq ($(BR2_PACKAGE_QT6BASE_SYSLOG),y)
+QT6BASE_CONF_OPTS += -DFEATURE_syslog=ON
+else
+QT6BASE_CONF_OPTS += -DFEATURE_syslog=OFF
+endif
+
$(eval $(cmake-package))
$(eval $(host-cmake-package))
More information about the buildroot
mailing list