add broadcom-wl patchtable again

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6215 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-01-27 10:09:53 +00:00
parent a39071768e
commit 7449be1dd9
1 changed files with 14 additions and 0 deletions

View File

@ -81,6 +81,20 @@ define Package/nas
proprietary Broadcom wl driver. proprietary Broadcom wl driver.
endef 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)" \ MAKEFLAGS_KMOD:= -C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \ CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \ ARCH="$(LINUX_KARCH)" \