From: John Crispin Date: Thu, 2 Apr 2015 14:31:10 +0000 (+0000) Subject: kernel: add garmin_gps module X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=63442803af9930234523a20bea89c4f3d46fee56;p=librecmc%2Flibrecmc.git kernel: add garmin_gps module OpenWrt on sailboats requested: https://forum.openwrt.org/viewtopic.php?id=56586 Signed-off-by: Dirk Neukirchen SVN-Revision: 45232 --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index e3d7165f47..fc47568dbc 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -631,6 +631,21 @@ endef $(eval $(call KernelPackage,usb-serial-ftdi)) +define KernelPackage/usb-serial-garmin + TITLE:=Support for Garmin GPS devices + KCONFIG:=CONFIG_USB_SERIAL_GARMIN + FILES:=$(LINUX_DIR)/drivers/usb/serial/garmin_gps.ko + AUTOLOAD:=$(call AutoProbe,garmin_gps) + $(call AddDepends/usb-serial) +endef + +define KernelPackage/usb-serial-garmin/description + Should work with most Garmin GPS devices which have a native USB port. +endef + +$(eval $(call KernelPackage,usb-serial-garmin)) + + define KernelPackage/usb-serial-ti-usb TITLE:=Support for TI USB 3410/5052 KCONFIG:=CONFIG_USB_SERIAL_TI