mirror of https://github.com/hak5/openwrt-owl.git
kernel: split slhc into a separate package and make slip depend on it
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37408owl
parent
b4a847be93
commit
9ea4b73748
|
@ -510,19 +510,30 @@ endef
|
||||||
$(eval $(call KernelPackage,veth))
|
$(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
|
define KernelPackage/ppp
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
TITLE:=PPP modules
|
TITLE:=PPP modules
|
||||||
DEPENDS:=+kmod-lib-crc-ccitt
|
DEPENDS:=+kmod-lib-crc-ccitt +kmod-slhc
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_PPP \
|
CONFIG_PPP \
|
||||||
CONFIG_PPP_ASYNC \
|
CONFIG_PPP_ASYNC
|
||||||
CONFIG_SLHC
|
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
|
$(LINUX_DIR)/drivers/net/ppp/ppp_async.ko \
|
||||||
$(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko \
|
$(LINUX_DIR)/drivers/net/ppp/ppp_generic.ko
|
||||||
$(LINUX_DIR)/drivers/net/slip/slhc.ko
|
AUTOLOAD:=$(call AutoLoad,30,ppp_generic ppp_async)
|
||||||
AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async)
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ppp/description
|
define KernelPackage/ppp/description
|
||||||
|
@ -906,6 +917,7 @@ $(eval $(call KernelPackage,netem))
|
||||||
|
|
||||||
define KernelPackage/slip
|
define KernelPackage/slip
|
||||||
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
|
DEPENDS:=+kmod-slhc
|
||||||
TITLE:=SLIP modules
|
TITLE:=SLIP modules
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_SLIP \
|
CONFIG_SLIP \
|
||||||
|
|
Loading…
Reference in New Issue