usbip allows configuring a client and a server, to share a USB device
across the network.
As explained in the .mk, usbip has been part from the kernel since
linux-3.17. This would call for making it part of linux-tools, but this
is a bit unwieldy: usbip is an autotools package, so trying to do a
proper integration in linux-tools would basically need a complete
duplication of the autotools infra [0].
Instead, we decided to go with a full-blown package of its own, that
just uses the current-latest kernel version. This makes for a nice,
little autotools package as we like them. Nothing fancy.
To be noted, though: usbip has its own license and license file, so
that's what we use, and we do not reference those for the rest of the
kernel: its GPL-2.0-or-later, not GPL-2.0(-only).
Finally, we only enable the core usbip support in the kernel, and leave
it to the user whether they should enable server and/or client support.
[0] been there, done that; that was ugly and incomplete, what with the
libtool patches, autoreconf, and what not.
Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Cc: Tal Shorer <tal.shorer@gmail.com>
Cc: Marcin Bis <marcin@bis.org.pl>
[Julien Olivain:
- Config.in: add hwdata comment
- Config.in: add a package homepage url
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
19 lines
662 B
Plaintext
19 lines
662 B
Plaintext
config BR2_PACKAGE_USBIP
|
|
bool "usbip"
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
help
|
|
The USB-over-IP suite of tools.
|
|
|
|
Note: you'll have to enable either (or both) of "VHCI hcd"
|
|
(CONFIG_USBIP_VHCI_HCD) if you want to access a remote USB
|
|
device, or "Host driver" (CONFIG_USBIP_HOST) if you want
|
|
to share a USB device, in your kernel configuration. The
|
|
Buildroot package "hwdata" with the "usb.ids" file is also
|
|
useful (but not mandatory) to list and identify USB device
|
|
by name.
|
|
|
|
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/usb/usbip
|
|
|
|
comment "usbip needs udev /dev management"
|
|
depends on !BR2_PACKAGE_HAS_UDEV
|