aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-27 10:09:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-27 10:09:53 +0000
commit7449be1dd96a7933536d10c4c6d41d7af114c37b (patch)
tree63e9044775cb5148599e70ad4c473901aae435f6 /package
parenta39071768edb08b8f5b3d919ab113b5c9df620ba (diff)
downloadupstream-7449be1dd96a7933536d10c4c6d41d7af114c37b.tar.gz
upstream-7449be1dd96a7933536d10c4c6d41d7af114c37b.tar.bz2
upstream-7449be1dd96a7933536d10c4c6d41d7af114c37b.zip
add broadcom-wl patchtable again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6215 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/broadcom-wl/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile
index fd6671b289..132b69ca2d 100644
--- a/package/broadcom-wl/Makefile
+++ b/package/broadcom-wl/Makefile
@@ -81,6 +81,20 @@ define Package/nas
proprietary Broadcom wl driver.
endef
+
+define install_template
+ $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
+ $(INSTALL_DATA) $(PKG_BUILD_DIR)/kmod/wl$(2).o.patch $(1)/lib/modules/$(LINUX_VERSION)/
+endef
+
+define KernelPackage/brcm-wl/install
+ $(call install_template,$(1),)
+endef
+
+define KernelPackage/brcm-wl_mimo/install
+ $(call install_template,$(1),_mimo)
+endef
+
MAKEFLAGS_KMOD:= -C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \