Changeset 39103


Ignore:
Timestamp:
2013-12-16T19:42:43+01:00 (4 years ago)
Author:
nbd
Message:

hostapd: move old wifi setup scripts to hostapd-common-old

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk/package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/hostap-driver/Makefile

    r38021 r39103  
    3535$(call KernelPackage/hostap/Default) 
    3636  TITLE:=Host AP support for Prism2/2.5/3 
    37   DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-lib80211 +wireless-tools 
     37  DEPENDS:=@PCI_SUPPORT||PCMCIA_SUPPORT +kmod-lib80211 +wireless-tools +hostapd-common-old 
    3838  KCONFIG:=CONFIG_HOSTAP CONFIG_HOSTAP_FIRMWARE=y CONFIG_HOSTAP_FIRMWARE_NVRAM=y 
    3939  FILES:=$(LINUX_DIR)/drivers/net/wireless/hostap/hostap.ko 
  • trunk/package/network/services/hostapd/Makefile

    r38988 r39103  
    215215endef 
    216216 
     217define Package/hostapd-common-old 
     218  TITLE:=hostapd/wpa_supplicant common support files (legacy drivers) 
     219  SECTION:=net 
     220  CATEGORY:=Network 
     221endef 
     222 
    217223ifneq ($(wildcard $(PKG_BUILD_DIR)/.config_*),$(subst .configured_,.config_,$(STAMP_CONFIGURED))) 
    218224  define Build/Configure/rebuild 
     
    304310 
    305311define Install/hostapd 
    306         $(INSTALL_DIR) $(1)/lib/wifi 
    307         $(INSTALL_DATA) ./files/hostapd.sh $(1)/lib/wifi/hostapd.sh 
    308312        $(INSTALL_DIR) $(1)/usr/sbin 
    309313endef 
    310314 
    311315define Install/supplicant 
    312         $(INSTALL_DIR) $(1)/lib/wifi 
    313         $(INSTALL_DATA) ./files/wpa_supplicant.sh $(1)/lib/wifi/wpa_supplicant.sh 
    314316        $(INSTALL_DIR) $(1)/usr/sbin 
    315317endef 
     
    318320        $(INSTALL_DIR) $(1)/lib/netifd 
    319321        $(INSTALL_DATA) ./files/netifd.sh $(1)/lib/netifd/hostapd.sh 
     322endef 
     323 
     324define Package/hostapd-common-old/install 
     325        $(INSTALL_DIR) $(1)/lib/wifi 
     326        $(INSTALL_DATA) ./files/hostapd.sh $(1)/lib/wifi/hostapd.sh 
     327        $(INSTALL_DATA) ./files/wpa_supplicant.sh $(1)/lib/wifi/wpa_supplicant.sh 
    320328endef 
    321329 
     
    367375$(eval $(call BuildPackage,hostapd-utils)) 
    368376$(eval $(call BuildPackage,hostapd-common)) 
     377$(eval $(call BuildPackage,hostapd-common-old)) 
Note: See TracChangeset for help on using the changeset viewer.