developer | 20d6771 | 2022-03-02 14:09:32 +0800 | [diff] [blame] | 1 | Index: lede/package/network/services/hostapd/Makefile |
| 2 | =================================================================== |
| 3 | --- lede.orig/package/network/services/hostapd/Makefile |
| 4 | +++ lede/package/network/services/hostapd/Makefile |
| 5 | @@ -429,7 +429,6 @@ define Package/hostapd-utils |
| 6 | 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 |
| 13 | @@ -443,7 +442,6 @@ define Package/wpa-cli |
| 14 | 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 |
| 21 | @@ -607,6 +605,9 @@ define Package/hostapd-common/install |
| 22 | $(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 |