aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-07-19 22:19:26 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-07-19 22:19:26 +0000
commitd21d2c7ade11bcddc5ba2254c8542fbcdd1ccf6a (patch)
tree83a17bcd3277a8f6a12abded781aa6b064710e24 /package
parent849f4812b26bb3acdfe96229ab81296c6298bf12 (diff)
downloadupstream-d21d2c7ade11bcddc5ba2254c8542fbcdd1ccf6a.tar.gz
upstream-d21d2c7ade11bcddc5ba2254c8542fbcdd1ccf6a.tar.bz2
upstream-d21d2c7ade11bcddc5ba2254c8542fbcdd1ccf6a.zip
kernel: package the usbmon module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37458 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/linux/modules/usb.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 9b7d1925ae..64a80e78da 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1046,3 +1046,16 @@ endef
$(eval $(call KernelPackage,usb-chipidea,1))
+define KernelPackage/usbmon
+ TITLE:=USB traffic monitor
+ KCONFIG:=CONFIG_USB_MON
+ $(call AddDepends/usb)
+ FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
+ AUTOLOAD:=$(call AutoLoad,60,usbmon)
+endef
+
+define KernelPackage/usbmon/description
+ Kernel support for USB traffic monitoring.
+endef
+
+$(eval $(call KernelPackage,usbmon))