aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-18 17:26:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-18 17:26:13 +0000
commitf289dc62bd9f68f5a25f1b2a7a98366eccd780a6 (patch)
treefc704191041737e7073e1d9afa1e1035bf8de6ed
parentbb6f01cacae3f3c10cb9f9af1afb462fce8ae056 (diff)
downloadmaster-187ad058-f289dc62bd9f68f5a25f1b2a7a98366eccd780a6.tar.gz
master-187ad058-f289dc62bd9f68f5a25f1b2a7a98366eccd780a6.tar.bz2
master-187ad058-f289dc62bd9f68f5a25f1b2a7a98366eccd780a6.zip
kernel: split slhc into a separate package and make slip depend on it
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37408 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/linux/modules/netsupport.mk24
1 files changed, 18 insertions, 6 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index c9740a945c..cf31f28342 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -510,19 +510,30 @@ endef
$(eval $(call KernelPackage,veth))
+define KernelPackage/slhc
+ SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ HIDDEN:=1
+ TITLE:=Serial Line Header Compression
+ DEPENDS:=+kmod-lib-crc-ccitt
+ KCONFIG:=CONFIG_SLHC
+ FILES:=$(LINUX_DIR)/drivers/net/slip/slhc.ko
+ AUTOLOAD:=$(call AutoLoad,29,slhc)
+endef
+
+$(eval $(call KernelPackage,slhc))
+
+
define KernelPackage/ppp
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=PPP modules
- DEPENDS:=+kmod-lib-crc-ccitt
+ DEPENDS:=+kmod-lib-crc-ccitt +kmod-slhc
KCONFIG:= \
CONFIG_PPP \
- CONFIG_PPP_ASYNC \
- CONFIG_SLHC
+ CONFIG_PPP_ASYNC
FILES:= \
$(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
- $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko \
- $(LINUX_DIR)/drivers/net/slip/slhc.ko
- AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
+ $(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko
+ AUTOLOAD:=$(call AutoLoad,30,ppp_generic ppp_async)
endef
define KernelPackage/ppp/description
@@ -906,6 +917,7 @@ $(eval $(call KernelPackage,netem))
define KernelPackage/slip
SUBMENU:=$(NETWORK_SUPPORT_MENU)
+ DEPENDS:=+kmod-slhc
TITLE:=SLIP modules
KCONFIG:= \
CONFIG_SLIP \