The last OpenOCD release was 3 years ago, plenty of new functionality
was added since then. Two security-related patches went in too.
While at it, add a menuconfig option to allow building without any USB
dependencies, useful for devices counting on sysfsgpio to access
targets.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
The release tar does not contain the srcdir/guess-rev.sh.
If it's not existant the configure scripts uses different
variables which removes the build timestamp.
Fixes reproducible builds.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Since openocd depends on hidapi it needs appropriate LD_FLAGS to link
against it as that library depends on libiconv.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
OpenOCD autoselects libftdi1 when it's present, and should explicitly
depend on it, same about libusb-0.1 API which is provided by
libusb-compat.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>