mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 06:26:14 +02:00
Add kernel module package for SLIP
This patch adds support for a kernel module package for SLIP. We needed it forusing tunslip6 from Contiki OS for 6LoWPAN communications. Signed-off-by: Markus Becker <mab@comnets.uni-bremen.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30538 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6aa1eddee7
commit
d25d480741
@ -829,3 +829,28 @@ endef
|
|||||||
|
|
||||||
$(eval $(call KernelPackage,netem))
|
$(eval $(call KernelPackage,netem))
|
||||||
|
|
||||||
|
define KernelPackage/slip
|
||||||
|
SUBMENU:=$(NETWORK_SUPPORT_MENU)
|
||||||
|
TITLE:=SLIP modules
|
||||||
|
KCONFIG:= \
|
||||||
|
CONFIG_SLIP \
|
||||||
|
CONFIG_SLIP_COMPRESSED=y \
|
||||||
|
CONFIG_SLIP_SMART=y \
|
||||||
|
CONFIG_SLIP_MODE_SLIP6=y
|
||||||
|
|
||||||
|
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/net/slip/slip.ko
|
||||||
|
else
|
||||||
|
FILES:= \
|
||||||
|
$(LINUX_DIR)/drivers/net/slip.ko
|
||||||
|
endif
|
||||||
|
AUTOLOAD:=$(call AutoLoad,30,slip)
|
||||||
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/slip/description
|
||||||
|
Kernel modules for SLIP support
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call KernelPackage,slip))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user