diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-16 18:42:43 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-12-16 18:42:43 +0000 |
commit | b6bcb7ff2d460a7c8ed28c11ea391b309926ffe1 (patch) | |
tree | aeac968b40d077c7331c996d36f43de4c9899f29 /package/network/services/hostapd | |
parent | 5237a500893980a4764cc2caab92f60c9f2ba9ea (diff) | |
download | mtk-20170518-b6bcb7ff2d460a7c8ed28c11ea391b309926ffe1.zip mtk-20170518-b6bcb7ff2d460a7c8ed28c11ea391b309926ffe1.tar.gz mtk-20170518-b6bcb7ff2d460a7c8ed28c11ea391b309926ffe1.tar.bz2 |
hostapd: move old wifi setup scripts to hostapd-common-old
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 39103
Diffstat (limited to 'package/network/services/hostapd')
-rw-r--r-- | package/network/services/hostapd/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile index 05a74bb..f00472a 100644 --- a/package/network/services/hostapd/Makefile +++ b/package/network/services/hostapd/Makefile @@ -214,6 +214,12 @@ define Package/hostapd-common CATEGORY:=Network 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))) define Build/Configure/rebuild $(FIND) $(PKG_BUILD_DIR) -name \*.o -or -name \*.a | $(XARGS) rm -f @@ -303,14 +309,10 @@ define Build/Compile endef define Install/hostapd - $(INSTALL_DIR) $(1)/lib/wifi - $(INSTALL_DATA) ./files/hostapd.sh $(1)/lib/wifi/hostapd.sh $(INSTALL_DIR) $(1)/usr/sbin endef 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 endef @@ -319,6 +321,12 @@ define Package/hostapd-common/install $(INSTALL_DATA) ./files/netifd.sh $(1)/lib/netifd/hostapd.sh 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 $(call Install/hostapd,$(1)) $(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,hostapd-utils)) $(eval $(call BuildPackage,hostapd-common)) +$(eval $(call BuildPackage,hostapd-common-old)) |