From c3c944e4214ad30f98e0dbc5e409b4c9e9aea71d Mon Sep 17 00:00:00 2001 From: Jesse Van Gavere Date: Fri, 26 Aug 2022 15:54:42 +0200 Subject: [PATCH] package/qt6/qt6base: add support for syslog backend Signed-off-by: Jesse Van Gavere Signed-off-by: Thomas Petazzoni --- 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))