From d913bf3c4976517d338be7220c65f8f03980bf6d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 18 Apr 2007 12:40:27 +0000 Subject: [PATCH] move hostapd setup script from wireless-tools to hostapd package SVN-Revision: 7000 --- package/hostapd/Makefile | 2 ++ .../{wireless-tools/files/wifi.sh => hostapd/files/hostapd.sh} | 0 package/wireless-tools/Makefile | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) rename package/{wireless-tools/files/wifi.sh => hostapd/files/hostapd.sh} (100%) diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index b77873c3ce..e500b87bd0 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 similarity index 100% rename from package/wireless-tools/files/wifi.sh rename to package/hostapd/files/hostapd.sh diff --git a/package/wireless-tools/Makefile b/package/wireless-tools/Makefile index 0f790aa52a..476efec0f3 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