From: nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu, 29 Apr 2010 03:57:55 +0000 (+0000)
Subject: move kmod-lp package defition specific to brcm-2.4 to package/kernel
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/5c60dae018efc0685de0e7218f5f0a406ce46bad

move kmod-lp package defition specific to brcm-2.4 to package/kernel


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21247 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 123afb027..557fc7c1c 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -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
index 44f54405a..000000000
--- a/target/linux/brcm-2.4/modules.mk
+++ /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
-