- $(call Package/wl)
- TITLE:=Proprietary WPA/WPA2 authenticator
- DESCRIPTION:=Proprietary WPA/WPA2 authenticator for the Broadcom wl driver
+ $(call Package/broadcom-wl/Default)
+ DEPENDS+=+nvram
+ TITLE:=Proprietary Broadcom WPA/WPA2 authenticator
+ DESCRIPTION:=\
+ This package contains the proprietary WPA/WPA2 authenticator (nas) for the \\\
+ 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)