aboutsummaryrefslogtreecommitdiffstats
path: root/package/d80211/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-02-01 21:06:24 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-02-01 21:06:24 +0000
commit2ffd273e1b91291b92c004b58dff673ecb79384d (patch)
tree1b02277981c5053a2bfab25f5f6b96c10c7cda61 /package/d80211/Makefile
parent28fd51e455d9bf1d56deaa05e8de618989287908 (diff)
downloadupstream-2ffd273e1b91291b92c004b58dff673ecb79384d.tar.gz
upstream-2ffd273e1b91291b92c004b58dff673ecb79384d.tar.bz2
upstream-2ffd273e1b91291b92c004b58dff673ecb79384d.zip
update d80211 to latest wireless-dev version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6241 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/d80211/Makefile')
-rw-r--r--package/d80211/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/d80211/Makefile b/package/d80211/Makefile
index 2bc9d41029..25b9051bd6 100644
--- a/package/d80211/Makefile
+++ b/package/d80211/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=kmod-d80211
-PKG_VERSION:=20061230
+PKG_VERSION:=20070201
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
@@ -29,6 +29,7 @@ endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
+ $(SED) 's,INIT_WORK(,INIT_WORK_NEW(,g' $(PKG_BUILD_DIR)/*.[ch]
endef
define Build/Compile
@@ -36,17 +37,19 @@ define Build/Compile
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \
SUBDIRS="$(PKG_BUILD_DIR)" \
- EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include" \
+ EXTRA_CFLAGS="-I$(PKG_BUILD_DIR)/include -include compat_hacks.h" \
modules
endef
define Build/InstallDev
- mkdir -p $(STAGING_DIR)/usr/include/net
- $(CP) ./src/include/net/* $(STAGING_DIR)/usr/include/net/
+ mkdir -p $(STAGING_DIR)/usr/include
+ $(CP) ./src/include/* $(STAGING_DIR)/usr/include/
endef
define Build/UninstallDev
rm -f $(STAGING_DIR)/usr/include/net/d80211*
+ rm -f $(STAGING_DIR)/usr/include/compat_hacks.h
+ rm -f $(STAGING_DIR)/usr/include/linux/ieee80211*
endef
$(eval $(call KernelPackage,d80211))