summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/broadcom-wl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile
index 782dfdaf57..497f392be8 100644
--- a/package/broadcom-wl/Makefile
+++ b/package/broadcom-wl/Makefile
@@ -71,6 +71,8 @@ define Build/Compile
endef
define Package/kmod-brcm-wl/install
+ install -d -m0755 $(1)/etc/modules.d
+ echo "wl" > $(1)/etc/modules.d/20-wl
install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
install -m0644 $(PKG_BUILD_DIR)/kmod/wl.o $(1)/lib/modules/$(LINUX_VERSION)/
endef