summaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/broadcom-wl/Makefile')
-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 782dfdaf5..497f392be 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