From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] util-linux-ng: make wdctl tool selectable
Date: Thu, 14 May 2020 18:11:21 +0200 [thread overview]
Message-ID: <20200514161121.22474-1-u.kleine-koenig@pengutronix.de> (raw)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
rules/util-linux-ng.in | 6 ++++++
rules/util-linux-ng.make | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index a9735e13c910..34fcd5a47271 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -342,6 +342,12 @@ config UTIL_LINUX_NG_HWCLOCK
comment "BusyBox' hwclock is selected!"
depends on BUSYBOX_HWCLOCK
+config UTIL_LINUX_NG_WDCTL
+ bool
+ prompt "wdctl"
+ help
+ wdctl - Utility to show hardware watchdog status.
+
config UTIL_LINUX_NG_IONICE
bool
prompt "ionice"
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index 88abca85f15e..ff583267f8ed 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -92,7 +92,7 @@ UTIL_LINUX_NG_CONF_OPT := \
--disable-fdformat \
--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_HWCLOCK)-hwclock \
--disable-lslogins \
- --disable-wdctl \
+ --$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_WDCTL)-wdctl \
--disable-cal \
--disable-logger \
--disable-switch_root \
@@ -279,6 +279,9 @@ endif
ifdef PTXCONF_UTIL_LINUX_NG_HWCLOCK
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/hwclock)
endif
+ifdef PTXCONF_UTIL_LINUX_NG_WDCTL
+ @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/wdctl)
+endif
ifdef PTXCONF_UTIL_LINUX_NG_IONICE
@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/ionice)
endif
--
2.26.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2020-05-14 16:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 16:11 Uwe Kleine-König [this message]
2020-05-19 12:23 ` [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=20200514161121.22474-1-u.kleine-koenig@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--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