Explorar el Código

package/qt6/qt6base: add support for syslog backend

Signed-off-by: Jesse Van Gavere <jesseevg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Jesse Van Gavere hace 2 años
padre
commit
c3c944e421
Se han modificado 2 ficheros con 11 adiciones y 0 borrados
  1. 5 0
      package/qt6/qt6base/Config.in
  2. 6 0
      package/qt6/qt6base/qt6base.mk

+ 5 - 0
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

+ 6 - 0
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))