kernel: other.mk: add pps-ldisc support

The pps-ldisc kernel module supports Pulse-Per-Second connected with the CD (Carrier Detect) pin.

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
lede-17.01
Stephen Walker 2016-06-29 18:34:50 -04:00 committed by John Crispin
parent 559a7d1177
commit 66b67b743f
1 changed files with 17 additions and 0 deletions

View File

@ -825,6 +825,23 @@ endef
$(eval $(call KernelPackage,pps-gpio))
define KernelPackage/pps-ldisc
SUBMENU:=$(OTHER_MENU)
TITLE:=PPS line discipline
DEPENDS:=+kmod-pps
KCONFIG:=CONFIG_PPS_CLIENT_LDISC
FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko
AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1)
endef
define KernelPackage/pps-ldisc/description
Support for a PPS source connected with the CD (Carrier
Detect) pin of your serial port.
endef
$(eval $(call KernelPackage,pps-ldisc))
define KernelPackage/ptp
SUBMENU:=$(OTHER_MENU)
TITLE:=PTP clock support