mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] util-linux: add option for building logger
Date: Mon, 13 Apr 2026 15:00:47 +0200	[thread overview]
Message-ID: <adzo__HLgVTXFESK@lenoch> (raw)

From: Ladislav Michl <ladis@triops.cz>

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 rules/util-linux.in   | 10 ++++++++++
 rules/util-linux.make |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/rules/util-linux.in b/rules/util-linux.in
index 2ffb1c68d..fd07a25c5 100644
--- a/rules/util-linux.in
+++ b/rules/util-linux.in
@@ -226,6 +226,16 @@ config UTIL_LINUX_GETOPT
 comment "BusyBox' getopt is selected!"
 	depends on BUSYBOX_GETOPT
 
+config UTIL_LINUX_LOGGER
+	bool
+	prompt "logger"
+	depends on !BUSYBOX_LOGGER || ALLYES
+	help
+	  logger - enter messages into the system log
+
+comment "BusyBox' logger is selected!"
+	depends on BUSYBOX_LOGGER
+
 config UTIL_LINUX_LSBLK
 	bool
 	select UTIL_LINUX_LIBBLKID
diff --git a/rules/util-linux.make b/rules/util-linux.make
index 642061404..6a4cb9b55 100644
--- a/rules/util-linux.make
+++ b/rules/util-linux.make
@@ -102,7 +102,7 @@ UTIL_LINUX_CONF_OPT	:= \
 	-Dbuild-libsmartcols=$(call ptx/endis, PTXCONF_UTIL_LINUX_LIBSMARTCOLS)d \
 	-Dbuild-libuuid=$(call ptx/endis, PTXCONF_UTIL_LINUX_LIBUUID)d \
 	-Dbuild-line=$(call ptx/endis, PTXCONF_UTIL_LINUX_LINE)d \
-	-Dbuild-logger=disabled \
+	-Dbuild-logger=$(call ptx/endis, PTXCONF_UTIL_LINUX_LOGGER)d \
 	-Dbuild-login=$(call ptx/endis, PTXCONF_UTIL_LINUX_LOGIN)d \
 	-Dbuild-look=disabled \
 	-Dbuild-losetup=$(call ptx/endis, PTXCONF_UTIL_LINUX_LOSETUP)d \
@@ -235,6 +235,7 @@ UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_BLKID)		+= sbin/blkid
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_FINDFS)		+= sbin/findfs
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_FINDMNT)		+= bin/findmnt
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_GETOPT)		+= bin/getopt
+UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LOGGER)		+= bin/logger
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_LSBLK)		+= bin/lsblk
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_MCOOKIE)		+= bin/mcookie
 UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_UUIDD)		+= sbin/uuidd
-- 
2.47.3




             reply	other threads:[~2026-04-13 13:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-13 13:00 Ladislav Michl [this message]
2026-04-15 13:52 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=adzo__HLgVTXFESK@lenoch \
    --to=oss-lists@triops.cz \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox