diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2016-01-22 17:27:58 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-02-01 14:39:05 +0100 |
commit | 21846861e26591406b5603164b9aec49f7d2370c (patch) | |
tree | b1150ab22024bdf7b131472c21765b799f3376d4 /rules/usb-modeswitch.in | |
parent | 3569b2cb3f40cbd998d029e96c3257130562cc5a (diff) | |
download | ptxdist-21846861e26591406b5603164b9aec49f7d2370c.tar.gz ptxdist-21846861e26591406b5603164b9aec49f7d2370c.tar.xz |
usb_modeswitch: udev helper
Install also udev helper and systemd service file
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/usb-modeswitch.in')
-rw-r--r-- | rules/usb-modeswitch.in | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/rules/usb-modeswitch.in b/rules/usb-modeswitch.in index aaefd8658..4a172ae71 100644 --- a/rules/usb-modeswitch.in +++ b/rules/usb-modeswitch.in @@ -1,11 +1,26 @@ ## SECTION=shell_and_console -config USB_MODESWITCH +menuconfig USB_MODESWITCH tristate - prompt "usb-modeswitch" + prompt "usb-modeswitch " select LIBUSB + select TCL if (USB_MODESWITCH_UDEV_HELPER || USB_MODESWITCH_SYSTEMD_UNIT) && RUNTIME help USB_ModeSwitch is (surprise!) a mode switching tool for controlling 'multi-mode' USB devices. +if USB_MODESWITCH + +config USB_MODESWITCH_UDEV_HELPER + bool "install udev helper" + default y + depends on UDEV + +config USB_MODESWITCH_SYSTEMD_UNIT + bool "install systemd unit file" + default y + depends on SYSTEMD + +endif + # vim: set sw=8 ts=8 noet ft=kconfig: |