Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usbip: init at ${kernel.version} (#31948)
* usbip: Init at ${kernel.version} * usbip: simplify build * usbip: fix build on bcachefs kernel * usbip: revert autoreconfHook sorry for breakage, I was testing the wrong code
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ stdenv, kernel, udev, autoconf, automake, libtool }: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "usbip-${kernel.name}"; | ||
|
||
src = kernel.src; | ||
|
||
nativeBuildInputs = [ autoconf automake libtool ]; | ||
buildInputs = [ udev ]; | ||
|
||
preConfigure = '' | ||
cd tools/usb/usbip | ||
./autogen.sh | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://github.com/torvalds/linux/tree/master/tools/usb/usbip; | ||
description = "allows to pass USB device from server to client over the network"; | ||
license = licenses.gpl2; | ||
platforms = platforms.linux; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters