blob: 4ddd8b1cbf167f6426e63d591a4c584883b94935 [file] [log] [blame]
developer55aca752023-09-07 02:46:06 +08001diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
2index f184830..3af18c6 100644
3--- a/package/network/services/hostapd/Makefile
4+++ b/package/network/services/hostapd/Makefile
5@@ -500,7 +500,6 @@ define Package/hostapd-utils
developer20d67712022-03-02 14:09:32 +08006 TITLE:=IEEE 802.1x Authenticator (utils)
7 URL:=http://hostap.epitest.fi/
8 DEPENDS:=@$(subst $(space),||,$(foreach pkg,$(HOSTAPD_PROVIDERS),PACKAGE_$(pkg)))
9- VARIANT:=*
10 endef
11
12 define Package/hostapd-utils/description
developer55aca752023-09-07 02:46:06 +080013@@ -514,7 +513,6 @@ define Package/wpa-cli
developer20d67712022-03-02 14:09:32 +080014 SUBMENU:=WirelessAPD
15 DEPENDS:=@$(subst $(space),||,$(foreach pkg,$(SUPPLICANT_PROVIDERS),PACKAGE_$(pkg)))
16 TITLE:=WPA Supplicant command line control utility
17- VARIANT:=*
18 endef
19
20 define Package/eapol-test/Default
developer55aca752023-09-07 02:46:06 +080021@@ -692,6 +690,9 @@ define Package/hostapd-common/install
developer20d67712022-03-02 14:09:32 +080022 $(INSTALL_BIN) ./files/wps-hotplug.sh $(1)/etc/rc.button/wps
23 $(INSTALL_DATA) ./files/wpad_acl.json $(1)/usr/share/acl.d
24 $(INSTALL_DATA) ./files/wpad.json $(1)/etc/capabilities
25+ [ ! -d $(STAGING_DIR)/usr/include/wpa_ctrl.h ] && $(CP) -f $(PKG_BUILD_DIR)/src/common/wpa_ctrl.h $(STAGING_DIR)/usr/include
26+ [ ! -d $(STAGING_DIR)/usr/lib/wpa_ctrl.o ] && $(CP) -f $(PKG_BUILD_DIR)/build/hostapd/src/common/wpa_ctrl.o $(STAGING_DIR)/usr/lib
27+ [ ! -d $(STAGING_DIR)/usr/lib/os_unix.o ] && $(CP) -f $(PKG_BUILD_DIR)/build/hostapd/src/utils/os_unix.o $(STAGING_DIR)/usr/lib
28 endef
29
30 define Package/hostapd/install