Commit Graph

16 Commits

Author SHA1 Message Date
Marc 0a27b0840f openocd: Update to latest git version
The 0001-Do-not-include-sysctrl.h-with-glibc.patch is no longer needed,
and is thus removed.
The 0001-bitbang-Make-bitbang_swd-extern-definition.patch was fixed
upstream in c60252ac2b636c4d99b766a574b9df0966151696 and is thus removed.

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-28 17:16:57 -07:00
Khem Raj fc2217f310 openocd: Fix build with gcc10/-fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:37:48 -07:00
Alistair Francis 1c96b782d0 openocd: Update libjaylink
Update the libjaylink SHA to the latest commit.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-19 17:14:08 -07:00
Alistair Francis 7f28f5c7a2 openocd: Enable remote-bitbang build option
Enable the remote-bitbang via PACKAGECONFIG to allow connecting to
verilator instances.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:58:23 -08:00
Alistair Francis 1115eb44bc openocd: Update to latest git version
Update to the latest git version and allow native builds.

The 0001-esirisc_flash-Rename-PAGE_SIZE-to-FLASH_PAGE_SIZE.patch has
been merged into master, so we can remove it.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-06 19:58:01 -08:00
Khem Raj 054804de14 openocd: Add --disable-werror always
toolchain-gcc override is only valid when meta-clang is included in
layers, but this knob is actually needed for gcc to work, so having an
empty override would not add this option while the default compiler
remains gcc

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-11 14:24:30 -07:00
Khem Raj 5d4b25aa9c openocd: disable werror when building with gcc
gcc 9.x warns more

TOPDIR/build/tmp/work/mips32r2-yoe-linux/openocd/0.10+gitrAUTOINC+7ee618692f-r0/recipe-sysroot/usr/include/bits/string_fortified.h:71:10: error: '__builtin_memset' offset [509, 512] from the object at 'buff' is out of the bounds of referenced subobject 'reserved7' with type 'mg_io_uint8[186]' {aka 'unsigned char[186]'} at offset 322 [-Werror=array-bounds]
|   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-09 08:36:20 -07:00
Khem Raj 2d99031071 openocd: Fix build with glibc 2.30
sys/syctl.h is deprecated starting 2.30

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-30 19:15:24 -07:00
Khem Raj 09ee9889e4 openocd: Fix build on x86_64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-21 10:45:33 -07:00
Khem Raj 5d57509a88 openocd: Upgrade to latest git version
Drop upstream'ed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-18 12:42:47 -07:00
Khem Raj d2cadb7a5d openocd: Fix build for risc-v
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Martin Jansa 29a51db18a openocd: prevent fetching git submodules during do_configure
* I've tried just disabling them with:
  --disable-internal-jimtcl --disable-internal-libjaylink
  but that still tries to use missing jim.h:
  | ./src/helper/jim-nvp.h:47:10: fatal error: jim.h: No such file or directory
  |  #include <jim.h>
  |           ^~~~~~~
  | compilation terminated.
  | Makefile:3619: recipe for target 'src/libopenocd_la-openocd.lo' failed
  | make[2]: *** [src/libopenocd_la-openocd.lo] Error 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15 08:20:06 -07:00
Khem Raj 5500ca6a45 openocd: Upgrade to latest tip of master
Fix build with new libusb and gcc8

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-31 21:53:52 -07:00
Khem Raj 31cebbf0d5 openocd: Upgrade to tip of master
Drop upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:20:49 -07:00
Khem Raj 0c437156db openocd: Fix build with gcc7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-19 19:30:45 +02:00
Moritz Fischer a978ea3051 openocd: Add recipe for openocd
Adds a recipe for openocd. Based on recipe found in meta-zephyr.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-23 15:49:34 +02:00