https://github.com/troglobit/sysklogd/
+if BR2_PACKAGE_SYSKLOGD
+
+config BR2_PACKAGE_SYSKLOGD_LOGGER
+ bool "logger tool"
+ help
+ Generate log messages from scripts or from the command line.
+
+ This version of logger is receommended for use with sysklogd.
+ It makes use of the new syslogp() API for RFC5424 style logs,
+ e.g. MSGID, strucutred data (SD), etc.
+
+ The BusyBox, or util-linux, logger tools can also be used, but
+ are limited to RFC3164 style messages.
+
+endif
+
comment "sysklogd needs a toolchain w/ threads"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS
SYSKLOGD_LICENSE = BSD-3-Clause
SYSKLOGD_LICENSE_FILES = LICENSE
SYSKLOGD_CPE_ID_VALID = YES
-SYSKLOGD_CONF_OPTS = --exec-prefix=/ --without-logger
+SYSKLOGD_CONF_OPTS = --exec-prefix=/
+
+# Disable/Enable utilities
+ifeq ($(BR2_PACKAGE_SYSKLOGD_LOGGER),y)
+SYSKLOGD_CONF_OPTS += --with-logger
+else
+SYSKLOGD_CONF_OPTS += --without-logger
+endif
define SYSKLOGD_INSTALL_SAMPLE_CONFIG
$(INSTALL) -D -m 0644 package/sysklogd/syslog.conf \