summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/hostapd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index cb31b5864..95b34141e 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -296,7 +296,7 @@ define Package/wpa-supplicant/install
endef
Package/wpa-supplicant-mini/install = $(Package/wpa-supplicant/install)
-ifneq ($(LOCAL_VARIANT),hostapd)
+ifneq ($(LOCAL_TYPE),hostapd)
define Package/wpa-cli/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_BUILD_DIR)/wpa_supplicant/wpa_cli $(1)/usr/sbin/