hostapd: fix build error
[openwrt-10.03/.git] / package / hostapd / Makefile
index cb31b58644c60fd89562f0a49c69ee54c4b79ede..95b34141e7888a9ffb54606dfe5935251aabfb41 100644 (file)
@@ -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/