mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
openocd: use packaged libjaylink and jimtcl instead of bundled copies
This commit is contained in:
parent
e138708d30
commit
5337648a1c
@ -3,6 +3,8 @@
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, hidapi
|
||||
, jimtcl
|
||||
, libjaylink
|
||||
, libusb1
|
||||
, libgpiod
|
||||
|
||||
@ -22,11 +24,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ hidapi libftdi1 libusb1 ]
|
||||
buildInputs = [ hidapi jimtcl libftdi1 libjaylink libusb1 ]
|
||||
++ lib.optional stdenv.isLinux libgpiod;
|
||||
|
||||
configureFlags = [
|
||||
"--disable-werror"
|
||||
"--disable-internal-jimtcl"
|
||||
"--disable-internal-libjaylink"
|
||||
"--enable-jtag_vpi"
|
||||
"--enable-buspirate"
|
||||
"--enable-remote-bitbang"
|
||||
|
Loading…
Reference in New Issue
Block a user