add modules.d file for wlcompat
authorFelix Fietkau <nbd@openwrt.org>
Thu, 21 Apr 2005 20:06:35 +0000 (20:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 21 Apr 2005 20:06:35 +0000 (20:06 +0000)
SVN-Revision: 701

openwrt/package/openwrt/Makefile

index a5642cd4e768900703229ac9f5712a0edebe4dab..01c830dc4ac6502d2ce551059c68a889dce77af1 100644 (file)
@@ -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)