aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-21 20:06:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-21 20:06:35 +0000
commitba64c3e6c7561c3dd6f6cc8da21bb06f56b245b2 (patch)
tree11de1392720ffa2df3ddd6b1bbca1ba9e3bd1bec
parent7f74ad80b45c6628db9e8cb2781584532b4eaece (diff)
downloadmaster-187ad058-ba64c3e6c7561c3dd6f6cc8da21bb06f56b245b2.tar.gz
master-187ad058-ba64c3e6c7561c3dd6f6cc8da21bb06f56b245b2.tar.bz2
master-187ad058-ba64c3e6c7561c3dd6f6cc8da21bb06f56b245b2.zip
add modules.d file for wlcompat
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@701 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/openwrt/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/openwrt/Makefile b/package/openwrt/Makefile
index a5642cd4e7..01c830dc4a 100644
--- a/package/openwrt/Makefile
+++ b/package/openwrt/Makefile
@@ -83,6 +83,8 @@ $(PKG_BUILD_DIR)/wlcompat-debug.o:
$(PKG_WLCOMPAT): $(PKG_BUILD_DIR)/wlcompat.o $(PKG_BUILD_DIR)/wlcompat-debug.o
$(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_BUILD_DIR)/wlcompat kmod-wlcompat.control $(LINUX_VERSION)-$(PKG_RELEASE) $(ARCH)
+ mkdir -p $(PKG_BUILD_DIR)/wlcompat/etc/modules.d
+ echo "insmod wlcompat" > $(PKG_BUILD_DIR)/wlcompat/etc/modules.d/10-wlcompat
mkdir -p $(PKG_BUILD_DIR)/wlcompat/lib/modules/$(LINUX_VERSION)
cp $^ $(PKG_BUILD_DIR)/wlcompat/lib/modules/$(LINUX_VERSION)/
$(IPKG_BUILD) $(PKG_BUILD_DIR)/wlcompat $(PACKAGE_DIR)