summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt')
-rw-r--r--openwrt/package/broadcom-wl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/broadcom-wl/Makefile b/openwrt/package/broadcom-wl/Makefile
index 782dfda..497f392 100644
--- a/openwrt/package/broadcom-wl/Makefile
+++ b/openwrt/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