split out crc-ccitt
authorFelix Fietkau <nbd@openwrt.org>
Mon, 3 Nov 2008 22:09:39 +0000 (22:09 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 3 Nov 2008 22:09:39 +0000 (22:09 +0000)
SVN-Revision: 13115

package/kernel/modules/network.mk
package/kernel/modules/other.mk

index c546d638ed0d28f9968a60594ffbe25e390a42c6..4419f1b8441f952d3d74af9d3c5e39b863c8e3fb 100644 (file)
@@ -319,30 +319,18 @@ $(eval $(call KernelPackage,tun))
 define KernelPackage/ppp
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=PPP modules
+  DEPENDS:=+LINUX_2_6:kmod-crc-ccitt
   KCONFIG:= \
        CONFIG_PPP \
        CONFIG_PPP_ASYNC \
        CONFIG_SLHC \
-       CONFIG_CRC_CCITT
   FILES:= \
        $(LINUX_DIR)/drivers/net/ppp_async.$(LINUX_KMOD_SUFFIX) \
        $(LINUX_DIR)/drivers/net/ppp_generic.$(LINUX_KMOD_SUFFIX) \
        $(LINUX_DIR)/drivers/net/slhc.$(LINUX_KMOD_SUFFIX)
-endef
-
-define KernelPackage/ppp/2.4
   AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
 endef
 
-define KernelPackage/ppp/2.6
-#  KCONFIG+= \
-#      CONFIG_SLHC \
-#      CONFIG_CRC_CCITT
-  FILES+= \
-       $(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
-  AUTOLOAD:=$(call AutoLoad,30,crc-ccitt slhc ppp_generic ppp_async)
-endef
-
 define KernelPackage/ppp/description
  Kernel modules for PPP support
 endef
index ddf2d428afd097aa3038d90a1e15e13926810e96..f82dfdef9023151a33e7c4a160c0d005dbd6e2dc 100644 (file)
@@ -22,6 +22,20 @@ endef
 
 $(eval $(call KernelPackage,crc-itu-t))
 
+define KernelPackage/crc-ccitt
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=CRC-CCITT support
+  KCONFIG:=CONFIG_CRC_CCITT
+  FILES:=$(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
+endef
+
+define KernelPackage/crc-ccitt/description
+ Kernel module for CRC-CCITT support
+endef
+
+$(eval $(call KernelPackage,crc-ccitt))
+
 
 define KernelPackage/crc7
   SUBMENU:=$(OTHER_MENU)