aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-11-03 22:09:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-11-03 22:09:39 +0000
commit58c80864478f69f941bd85f9355b80a33054d0d5 (patch)
treedb6f5fb019a2595804c4ccf6fa5a8bc61565c1f5 /package
parent88ea88e7d0b41770f603c91fcb9fa1920b89d24d (diff)
downloadmaster-187ad058-58c80864478f69f941bd85f9355b80a33054d0d5.tar.gz
master-187ad058-58c80864478f69f941bd85f9355b80a33054d0d5.tar.bz2
master-187ad058-58c80864478f69f941bd85f9355b80a33054d0d5.zip
split out crc-ccitt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13115 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/network.mk14
-rw-r--r--package/kernel/modules/other.mk14
2 files changed, 15 insertions, 13 deletions
diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk
index c546d638ed..4419f1b844 100644
--- a/package/kernel/modules/network.mk
+++ b/package/kernel/modules/network.mk
@@ -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
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index ddf2d428af..f82dfdef90 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -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)