summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-18 12:40:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-18 12:40:27 +0000
commitd913bf3c4976517d338be7220c65f8f03980bf6d (patch)
treea935e494a4cd4a4b705e9ad59cd67c7fc485db50
parent38515a7f8149704dd5903e35c568af8121a27e1e (diff)
downloadmtk-20170518-d913bf3c4976517d338be7220c65f8f03980bf6d.zip
mtk-20170518-d913bf3c4976517d338be7220c65f8f03980bf6d.tar.gz
mtk-20170518-d913bf3c4976517d338be7220c65f8f03980bf6d.tar.bz2
move hostapd setup script from wireless-tools to hostapd package
SVN-Revision: 7000
-rw-r--r--package/hostapd/Makefile2
-rw-r--r--package/hostapd/files/hostapd.sh (renamed from package/wireless-tools/files/wifi.sh)0
-rw-r--r--package/wireless-tools/Makefile2
3 files changed, 2 insertions, 2 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index b77873c..e500b87 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -81,6 +81,8 @@ define Package/InstallTemplate
rm -f $(PKG_BUILD_DIR)/.built; \
$(MAKE) $(PKG_BUILD_DIR)/.built; \
fi
+ $(INSTALL_DIR) $$(1)/lib/wifi
+ $(INSTALL_DATA) ./files/hostapd.sh $$(1)/lib/wifi/hostapd.sh
$(INSTALL_DIR) $$(1)/etc
$(INSTALL_CONF) $(PKG_BUILD_DIR)_$(2)/madwifi.conf $$(1)/etc/hostapd.conf
$(INSTALL_DIR) $$(1)/usr/sbin
diff --git a/package/wireless-tools/files/wifi.sh b/package/hostapd/files/hostapd.sh
index 529462e..529462e 100644
--- a/package/wireless-tools/files/wifi.sh
+++ b/package/hostapd/files/hostapd.sh
diff --git a/package/wireless-tools/Makefile b/package/wireless-tools/Makefile
index 0f790aa..476efec 100644
--- a/package/wireless-tools/Makefile
+++ b/package/wireless-tools/Makefile
@@ -59,8 +59,6 @@ define Build/UninstallDev
endef
define Package/wireless-tools/install
- $(INSTALL_DIR) $(1)/lib/wifi
- $(INSTALL_DATA) ./files/wifi.sh $(1)/lib/wifi/generic.sh
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libiw.so.28 $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/sbin