move kmod-lp package defition specific to brcm-2.4 to package/kernel
authorNicolas Thill <nico@openwrt.org>
Thu, 29 Apr 2010 03:57:55 +0000 (03:57 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 29 Apr 2010 03:57:55 +0000 (03:57 +0000)
SVN-Revision: 21247

package/kernel/modules/other.mk
target/linux/brcm-2.4/modules.mk [deleted file]

index 123afb0276dae727b94e07536fa9cdbf373621a7..557fc7c1c7db7a9e5a230293a4d2d67a4b312484 100644 (file)
@@ -507,6 +507,19 @@ define KernelPackage/lp
   AUTOLOAD:=$(call AutoLoad,50,parport lp)
 endef
 
+define KernelPackage/lp/2.4
+  FILES:= \
+       $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
+       $(LINUX_DIR)/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \
+       $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
+       $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50, \
+       parport \
+       parport_splink \
+       lp \
+  )
+endef
+
 $(eval $(call KernelPackage,lp))
 
 
diff --git a/target/linux/brcm-2.4/modules.mk b/target/linux/brcm-2.4/modules.mk
deleted file mode 100644 (file)
index 44f5440..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-define KernelPackage/lp/brcm-2.4
-  FILES:= \
-       $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
-       $(LINUX_DIR)/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \
-       $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
-       $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,50, \
-       parport \
-       parport_splink \
-       lp \
-  )
-endef
-