hostapd: move old wifi setup scripts to hostapd-common-old
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39103
This commit is contained in:
parent
5237a50089
commit
b6bcb7ff2d
|
@ -34,7 +34,7 @@ endef
|
||||||
define KernelPackage/hostap
|
define KernelPackage/hostap
|
||||||
$(call KernelPackage/hostap/Default)
|
$(call KernelPackage/hostap/Default)
|
||||||
TITLE:=Host AP support for Prism2/2.5/3
|
TITLE:=Host AP support for Prism2/2.5/3
|
||||||
DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-lib80211 +wireless-tools
|
DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-lib80211 +wireless-tools +hostapd-common-old
|
||||||
KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y
|
KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y
|
||||||
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap.ko
|
FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,hostap)
|
AUTOLOAD:=$(call AutoProbe,hostap)
|
||||||
|
|
|
@ -214,6 +214,12 @@ define Package/hostapd-common
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/hostapd-common-old
|
||||||
|
TITLE:=hostapd/wpa_supplicant common support files (legacy drivers)
|
||||||
|
SECTION:=net
|
||||||
|
CATEGORY:=Network
|
||||||
|
endef
|
||||||
|
|
||||||
ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED)))
|
ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED)))
|
||||||
define Build/Configure/rebuild
|
define Build/Configure/rebuild
|
||||||
$(FIND) $(PKG_BUILD_DIR) -name \*.o -or -name \*.a | $(XARGS) rm -f
|
$(FIND) $(PKG_BUILD_DIR) -name \*.o -or -name \*.a | $(XARGS) rm -f
|
||||||
|
@ -303,14 +309,10 @@ define Build/Compile
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Install/hostapd
|
define Install/hostapd
|
||||||
$(INSTALL_DIR) $(1)/lib/wifi
|
|
||||||
$(INSTALL_DATA) ./files/hostapd.sh $(1)/lib/wifi/hostapd.sh
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Install/supplicant
|
define Install/supplicant
|
||||||
$(INSTALL_DIR) $(1)/lib/wifi
|
|
||||||
$(INSTALL_DATA) ./files/wpa_supplicant.sh $(1)/lib/wifi/wpa_supplicant.sh
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -319,6 +321,12 @@ define Package/hostapd-common/install
|
||||||
$(INSTALL_DATA) ./files/netifd.sh $(1)/lib/netifd/hostapd.sh
|
$(INSTALL_DATA) ./files/netifd.sh $(1)/lib/netifd/hostapd.sh
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/hostapd-common-old/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib/wifi
|
||||||
|
$(INSTALL_DATA) ./files/hostapd.sh $(1)/lib/wifi/hostapd.sh
|
||||||
|
$(INSTALL_DATA) ./files/wpa_supplicant.sh $(1)/lib/wifi/wpa_supplicant.sh
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/hostapd/install
|
define Package/hostapd/install
|
||||||
$(call Install/hostapd,$(1))
|
$(call Install/hostapd,$(1))
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/hostapd/hostapd $(1)/usr/sbin/
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/hostapd/hostapd $(1)/usr/sbin/
|
||||||
|
@ -366,3 +374,4 @@ $(eval $(call BuildPackage,wpa-supplicant-p2p))
|
||||||
$(eval $(call BuildPackage,wpa-cli))
|
$(eval $(call BuildPackage,wpa-cli))
|
||||||
$(eval $(call BuildPackage,hostapd-utils))
|
$(eval $(call BuildPackage,hostapd-utils))
|
||||||
$(eval $(call BuildPackage,hostapd-common))
|
$(eval $(call BuildPackage,hostapd-common))
|
||||||
|
$(eval $(call BuildPackage,hostapd-common-old))
|
||||||
|
|
Loading…
Reference in New Issue