fix softdog kmod packaging on 2.6
authorNicolas Thill <nico@openwrt.org>
Thu, 19 Oct 2006 18:05:21 +0000 (18:05 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 19 Oct 2006 18:05:21 +0000 (18:05 +0000)
SVN-Revision: 5238

package/kernel/modules/other.mk

index f00fb32e193fd0395f3061deba47caf8af1fead3..a5cc4de8f936bf7dd80f210f6207d6caeef48141 100644 (file)
@@ -206,6 +206,15 @@ define KernelPackage/softdog
   FILES:=$(MODULES_DIR)/kernel/drivers/char/softdog.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,softdog)
 endef
+
+define KernelPackage/softdog/2.4
+  FILES:=$(MODULES_DIR)/kernel/drivers/char/softdog.o
+endef
+
+define KernelPackage/softdog/2.6
+  FILES:=$(MODULES_DIR)/kernel/drivers/char/watchdog/softdog.ko
+endef
+
 $(eval $(call KernelPackage,softdog))