openocd: use packaged libjaylink and jimtcl instead of bundled copies
This commit is contained in:
parent
e138708d30
commit
5337648a1c
|
@ -3,6 +3,8 @@
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, hidapi
|
, hidapi
|
||||||
|
, jimtcl
|
||||||
|
, libjaylink
|
||||||
, libusb1
|
, libusb1
|
||||||
, libgpiod
|
, libgpiod
|
||||||
|
|
||||||
|
@ -22,11 +24,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ hidapi libftdi1 libusb1 ]
|
buildInputs = [ hidapi jimtcl libftdi1 libjaylink libusb1 ]
|
||||||
++ lib.optional stdenv.isLinux libgpiod;
|
++ lib.optional stdenv.isLinux libgpiod;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-werror"
|
"--disable-werror"
|
||||||
|
"--disable-internal-jimtcl"
|
||||||
|
"--disable-internal-libjaylink"
|
||||||
"--enable-jtag_vpi"
|
"--enable-jtag_vpi"
|
||||||
"--enable-buspirate"
|
"--enable-buspirate"
|
||||||
"--enable-remote-bitbang"
|
"--enable-remote-bitbang"
|
||||||
|
|
Loading…
Reference in a new issue