From 4643ae59db2603274065794288aa9d1588e8f032 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 21 Apr 2005 20:06:35 +0000 Subject: add modules.d file for wlcompat git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@701 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/openwrt/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package') 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) -- cgit v1.2.3