aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEneas U de Queiroz <cotequeiroz@gmail.com>2021-11-03 15:58:57 -0300
committerHauke Mehrtens <hauke@hauke-m.de>2021-11-15 00:38:46 +0100
commit5720ac8f4c0d17534a2cf8c9800c01fa7e2c785f (patch)
treebd7f3a584b0ebbd78b3ba22771703a7be616e053
parent91a5d69ea40196044e7456d72095afb655b0c5aa (diff)
downloadupstream-5720ac8f4c0d17534a2cf8c9800c01fa7e2c785f.tar.gz
upstream-5720ac8f4c0d17534a2cf8c9800c01fa7e2c785f.tar.bz2
upstream-5720ac8f4c0d17534a2cf8c9800c01fa7e2c785f.zip
hostapd: set VARIANT=* for wpa-cli, hostapd-utils
19aae94 [build: avoid rebuilds of unset VARIANT packages] builds packages defined without a VARIANT only once, using the first VARIANT defined in the Makefile. This caused problems with wpa-cli, as it is only built for variants that include supplicant support, and the first VARIANT defined may not build it. The same happens to hostapd-utils, which is not built for supplicant-only variants. To circumvent this, set VARIANT=* for both packages so that they get built for every defined variant. This should not cause spurious rebuilds, since tey are not a dependency of any other package defined in this Makefile. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
-rw-r--r--package/network/services/hostapd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
index 4930851780..d921df7f97 100644
--- a/package/network/services/hostapd/Makefile
+++ b/package/network/services/hostapd/Makefile
@@ -426,6 +426,7 @@ define Package/hostapd-utils
TITLE:=IEEE 802.1x Authenticator (utils)
URL:=http://hostap.epitest.fi/
DEPENDS:=@$(subst $(space),||,$(foreach pkg,$(HOSTAPD_PROVIDERS),PACKAGE_$(pkg)))
+ VARIANT:=*
endef
define Package/hostapd-utils/description
@@ -439,6 +440,7 @@ define Package/wpa-cli
SUBMENU:=WirelessAPD
DEPENDS:=@$(subst $(space),||,$(foreach pkg,$(SUPPLICANT_PROVIDERS),PACKAGE_$(pkg)))
TITLE:=WPA Supplicant command line control utility
+ VARIANT:=*
endef
define Package/eapol-test/Default