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] hostapd: add an option to install hostapd_cli
Date: Wed, 29 Apr 2026 22:59:20 +0200	[thread overview]
Message-ID: <afJxKOWzlpIZWeH1@lenoch> (raw)

From: Ladislav Michl <ladis@triops.cz>

Signed-off-by: Ladislav Michl <ladis@triops.cz>

diff --git a/rules/hostapd.in b/rules/hostapd.in
index 9c95fe373..62e9f8207 100644
--- a/rules/hostapd.in
+++ b/rules/hostapd.in
@@ -24,6 +24,12 @@ menuconfig HOSTAPD
 
 if HOSTAPD
 
+config HOSTAPD_CLI
+	bool
+	prompt "Install hostapd_cli"
+	help
+	  Install hostapd command-line interface
+
 config HOSTAPD_SYSTEMD_UNIT
 	bool
 	prompt "Enable systemd support"
diff --git a/rules/hostapd.make b/rules/hostapd.make
index 1cd3886a9..dfdc637d0 100644
--- a/rules/hostapd.make
+++ b/rules/hostapd.make
@@ -74,6 +74,10 @@ $(STATEDIR)/hostapd.targetinstall:
 	@$(call install_copy, hostapd, 0, 0, 0755, -, /usr/sbin/hostapd)
 	@$(call install_alternative, hostapd, 0, 0, 0644, /etc/hostapd/hostapd.conf)
 
+ifdef PTXCONF_HOSTAPD_CLI
+	@$(call install_copy, hostapd, 0, 0, 0755, -, /usr/sbin/hostapd_cli)
+endif
+
 ifdef PTXCONF_HOSTAPD_SYSTEMD_UNIT
 	@$(call install_alternative, hostapd, 0, 0, 0644, \
 		/usr/lib/systemd/system/hostapd.service)



                 reply	other threads:[~2026-04-29 20:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=afJxKOWzlpIZWeH1@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