From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] util-linux: add an option to enable rfkill
Date: Tue, 3 Jan 2023 12:08:20 +0100 [thread overview]
Message-ID: <20230103110820.2227527-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20221214113320.792585-1-p.zabel@pengutronix.de>
Thanks, applied as d106e99c3673d6a5a75e864012c89d8280059041.
Michael
[sent from post-receive hook]
On Tue, 03 Jan 2023 12:08:20 +0100, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> Add a configuration option UTIL_LINUX_RFKILL to enable the rfkill tool.
>
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Message-Id: <20221214113320.792585-1-p.zabel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/util-linux.in b/rules/util-linux.in
> index 429473404a14..7b89ced68eb7 100644
> --- a/rules/util-linux.in
> +++ b/rules/util-linux.in
> @@ -468,6 +468,19 @@ config UTIL_LINUX_READPROFILE
> comment "BusyBox' readprofile is selected!"
> depends on BUSYBOX_READPROFILE
>
> +config UTIL_LINUX_RFKILL
> + bool
> + prompt "rfkill"
> + select UTIL_LINUX_LIBSMARTCOLS
> + depends on !BUSYBOX_RFKILL || ALLYES
> + help
> + rfkill is a simple tool for accessing the Linux rfkill device
> + interface, which is used to enable and disable wireless networking
> + devices, typically WLAN, Bluetooth and mobile broadband.
> +
> +comment "BusyBox' rfkill is selected!"
> + depends on BUSYBOX_RFKILL
> +
> config UTIL_LINUX_SWAPON
> bool
> prompt "swapon"
> diff --git a/rules/util-linux.make b/rules/util-linux.make
> index 0afa9ecdd938..c0f2dab369e4 100644
> --- a/rules/util-linux.make
> +++ b/rules/util-linux.make
> @@ -116,7 +116,7 @@ UTIL_LINUX_CONF_OPT := \
> --$(call ptx/endis, PTXCONF_UTIL_LINUX_IPCS)-ipcs \
> --$(call ptx/endis, PTXCONF_UTIL_LINUX_IRQTOP)-irqtop \
> --$(call ptx/endis, PTXCONF_UTIL_LINUX_LSIRQ)-lsirq \
> - --disable-rfkill \
> + --$(call ptx/endis, PTXCONF_UTIL_LINUX_RFKILL)-rfkill \
> --disable-scriptutils \
> --disable-tunelp \
> --disable-kill \
> @@ -238,6 +238,7 @@ UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_MOUNTPOINT) += bin/mountpoint
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_NSENTER) += bin/nsenter
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_PIVOT_ROOT) += sbin/pivot_root
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_READPROFILE) += sbin/readprofile
> +UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_RFKILL) += sbin/rfkill
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_SWAPON) += sbin/swapoff sbin/swapon
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_SWITCH_ROOT) += sbin/switch_root
> UTIL_LINUX_BIN-$(PTXCONF_UTIL_LINUX_UMOUNT) += bin/umount
prev parent reply other threads:[~2023-01-03 11:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-14 11:33 [ptxdist] [PATCH v2] " Philipp Zabel
2023-01-03 11:08 ` Michael Olbrich [this message]
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=20230103110820.2227527-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=p.zabel@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