openocd: use packaged libjaylink and jimtcl instead of bundled copies

This commit is contained in:
Dan Callaghan 2023-03-28 13:02:26 +11:00
parent e138708d30
commit 5337648a1c

View File

@ -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"