X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/98bd304d5a0fbcfac124765f980a3a6d118fbf66..018a28f15805f8c1e3635314f0f96538a2912a5c:/package/mac80211/Makefile?ds=sidebyside diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 48f277b6e..b8962186f 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -1,10 +1,9 @@ # -# Copyright (C) 2007-2008 OpenWrt.org +# Copyright (C) 2007-2009 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: Makefile 7440 2007-06-02 02:22:01Z nbd $ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk @@ -13,11 +12,15 @@ PKG_NAME:=mac80211 PKG_RELEASE:=1 ifneq ($(CONFIG_LINUX_2_6_27)$(CONFIG_LINUX_2_6_28),) - PKG_VERSION:=2008-12-11 - PKG_SOURCE_URL:=http://wireless.kernel.org/download/compat-wireless-2.6/ + PKG_VERSION:=2009-01-07 + PKG_SOURCE_URL:= \ + http://www.orbit-lab.org/kernel/compat-wireless-2.6/2009/01 \ + http://wireless.kernel.org/download/compat-wireless-2.6 + PKG_MD5SUM:=2788149d630d48686f7ca79131cdbe8c else PKG_VERSION:=2008-08-06 PKG_SOURCE_URL:=http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/08 + PKG_MD5SUM:=9563ceeed86bca0859ad5f010623277c PATCH_DIR:=./patches-old endif @@ -29,11 +32,16 @@ STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_kmod-mac8021 WMENU:=Wireless Drivers -define KernelPackage/mac80211 +define KernelPackage/mac80211/Default SUBMENU:=$(WMENU) - TITLE:=Linux 802.11 Wireless Networking Stack URL:=http://linuxwireless.org/ - DEPENDS:=@LINUX_2_6 +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools @!TARGET_avr32 + DEPENDS:=@LINUX_2_6 @!TARGET_avr32 +endef + +define KernelPackage/mac80211 + $(call KernelPackage/mac80211/Default) + TITLE:=Linux 802.11 Wireless Networking Stack + DEPENDS+= +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools FILES:= \ $(PKG_BUILD_DIR)/net/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \ $(PKG_BUILD_DIR)/net/wireless/cfg80211.$(LINUX_KMOD_SUFFIX) @@ -55,7 +63,7 @@ endef $(eval $(call Download,p54)) define KernelPackage/p54/Default - SUBMENU:=$(WMENU) + $(call KernelPackage/mac80211/Default) TITLE:=Prism54 Drivers endef @@ -114,7 +122,7 @@ endef $(eval $(call Download,rt2860)) define KernelPackage/rt2x00/Default - SUBMENU:=$(WMENU) + $(call KernelPackage/mac80211/Default) TITLE:=Ralink Drivers for RT2x00 cards endef @@ -184,12 +192,20 @@ endef define KernelPackage/rt2800-pci $(call KernelPackage/rt2x00/Default) - DEPENDS+= @BROKEN @PCI_SUPPORT +kmod-rt2x00-pci @LINUX_2_6_27||@LINUX_2_6_28 + DEPENDS+= +kmod-rt2x00-pci @LINUX_2_6_27||@LINUX_2_6_28 TITLE+= (RT2860 PCI) FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800pci.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,27,rt2800pci) endef +define KernelPackage/rt2800-usb +$(call KernelPackage/rt2x00/Default) + DEPENDS+= +kmod-rt2x00-usb @LINUX_2_6_27||@LINUX_2_6_28 + TITLE+= (RT2870 USB) + FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/rt2x00/rt2800usb.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,27,rt2800usb) +endef + ZD1211FW_NAME:=zd1211-firmware ZD1211FW_VERSION:=1.4 define Download/zd1211rw @@ -200,15 +216,15 @@ endef $(eval $(call Download,zd1211rw)) define KernelPackage/zd1211rw - SUBMENU:=$(WMENU) + $(call KernelPackage/mac80211/Default) TITLE:=Zydas ZD1211 support - DEPENDS:= @USB_SUPPORT +kmod-usb-core +kmod-mac80211 + DEPENDS+= @USB_SUPPORT +kmod-usb-core +kmod-mac80211 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/zd1211rw/zd1211rw.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,60,zd1211rw) endef define KernelPackage/ath5k - SUBMENU:=$(WMENU) + $(call KernelPackage/mac80211/Default) TITLE:=Atheros 5xxx wireless cards support URL:=http://linuxwireless.org/en/users/Drivers/ath5k DEPENDS+= @PCI_SUPPORT +kmod-mac80211 @@ -217,26 +233,26 @@ define KernelPackage/ath5k endef define KernelPackage/ath5k/description -This module adds support for wireless adapters based on -Atheros 5xxx chipset. + This module adds support for wireless adapters based on + Atheros 5xxx chipset. endef -define KernelPackage/ath9k-new - SUBMENU:=$(WMENU) +define KernelPackage/ath9k + $(call KernelPackage/mac80211/Default) TITLE:=Atheros 802.11n wireless cards support URL:=http://linuxwireless.org/en/users/Drivers/ath9k - DEPENDS+= @PCI_SUPPORT +kmod-mac80211 @LINUX_2_6_27||@LINUX_2_6_28 @!kmod-ath9k + DEPENDS+= @PCI_SUPPORT +kmod-mac80211 @LINUX_2_6_27||@LINUX_2_6_28 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ath9k/ath9k.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,27,ath9k) endef -define KernelPackage/ath9k-new/description +define KernelPackage/ath9k/description This module adds support for wireless adapters based on Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets. endef define KernelPackage/mac80211-hwsim - SUBMENU:=$(WMENU) + $(call KernelPackage/mac80211/Default) TITLE:=mac80211 HW simulation device DEPENDS+= +kmod-mac80211 FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/mac80211_hwsim.$(LINUX_KMOD_SUFFIX) @@ -285,10 +301,10 @@ endef $(eval $(call Download,b43legacy)) define KernelPackage/b43-common - SUBMENU:=$(WMENU) + $(call KernelPackage/mac80211/Default) TITLE:=Generic stuff for Broadcom wireless devices URL:=http://linuxwireless.org/en/users/Drivers/b43 - DEPENDS:=+kmod-mac80211 +!TARGET_brcm47xx:kmod-ssb @TARGET_brcm47xx||@TARGET_brcm63xx @LINUX_2_6_25||@LINUX_2_6_26||@LINUX_2_6_27||@LINUX_2_6_28 + DEPENDS+= +kmod-mac80211 +!TARGET_brcm47xx:kmod-ssb @TARGET_brcm47xx||@TARGET_brcm63xx @LINUX_2_6_25||@LINUX_2_6_26||@LINUX_2_6_27||@LINUX_2_6_28 endef define KernelPackage/b43 @@ -443,8 +459,9 @@ $(eval $(call KernelPackage,rt2500-usb)) $(eval $(call KernelPackage,rt61-pci)) $(eval $(call KernelPackage,rt73-usb)) $(eval $(call KernelPackage,rt2800-pci)) +$(eval $(call KernelPackage,rt2800-usb)) $(eval $(call KernelPackage,zd1211rw)) $(eval $(call KernelPackage,mac80211-hwsim)) -$(eval $(call KernelPackage,ath9k-new)) +$(eval $(call KernelPackage,ath9k)) $(eval $(call KernelPackage,b43)) $(eval $(call KernelPackage,b43legacy))