summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-07-20 11:43:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-07-20 11:43:56 +0000
commit12d206d9eb10efc2fd1b25816ff7314fa4b24089 (patch)
treeeb3a9605103d45a6b4d5bf65497cb6d5228adfe8
parent67039dcf9ee1b2deb6b8ab6777279c3862a8dd6e (diff)
downloadmtk-20170518-12d206d9eb10efc2fd1b25816ff7314fa4b24089.zip
mtk-20170518-12d206d9eb10efc2fd1b25816ff7314fa4b24089.tar.gz
mtk-20170518-12d206d9eb10efc2fd1b25816ff7314fa4b24089.tar.bz2
update compat-wireless to a newer version, but leave it at the old version for brcm47xx (b43 does not compile with the new one)
SVN-Revision: 11883
-rw-r--r--package/mac80211/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile
index 2280aa6..92de02a 100644
--- a/package/mac80211/Makefile
+++ b/package/mac80211/Makefile
@@ -12,9 +12,9 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=mac80211
PKG_RELEASE:=1
-PKG_VERSION:=2008-05-26
+PKG_VERSION:=$(if $(CONFIG_TARGET_brcm47xx),2008-05-26,2008-07-19)
PKG_SOURCE:=compat-wireless-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/05
+PKG_SOURCE_URL:=http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/07
#PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/compat-wireless-$(PKG_VERSION)
@@ -23,7 +23,7 @@ include $(INCLUDE_DIR)/package.mk
define KernelPackage/mac80211
SUBMENU:=Wireless Drivers
TITLE:=Linux 802.11 Wireless Networking Stack
- DEPENDS:=@LINUX_2_6_23||LINUX_2_6_24||LINUX_2_6_25 +kmod-crypto-arc4 +kmod-crypto-aes +wireless-tools
+ DEPENDS:=@LINUX_2_6 +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)
@@ -168,8 +168,9 @@ define Build/Compile
endef
define Build/InstallDev
- mkdir -p $(1)/usr/include/mac80211
+ mkdir -p $(1)/usr/include/mac80211 $(1)/usr/include/net/mac80211
$(CP) $(PKG_BUILD_DIR)/net/mac80211/*.h $(PKG_BUILD_DIR)/include/* $(1)/usr/include/mac80211/
+ $(CP) $(PKG_BUILD_DIR)/net/mac80211/rate.h $(1)/usr/include/net/mac80211/
endef
define KernelPackage/mac80211/install