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 123afb0..557fc7c 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
-