From: Felix Fietkau Date: Sat, 27 Jan 2007 10:09:53 +0000 (+0000) Subject: add broadcom-wl patchtable again X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b420fccd92ffb8efe257451d385e2db8babb61d2;p=openwrt%2Fstaging%2Fnbd.git add broadcom-wl patchtable again SVN-Revision: 6215 --- 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)" \