aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/openocd/openocd_git.bb
AgeCommit message (Collapse)Author
2021-11-13recipes: Update SRC_URI branch and protocolsArmin Kuster
This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-03-16openocd: upgrade 0.10 -> 0.11zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-12-08openocd: disable the support of ccacheThomas Perrot
Otherwise, when ccache is enabled the following error occurs, by adding CCACHE_DISABLE = "1" in the recipe this is avoided. | No installed jimsh or tclsh, building local bootstrap jimsh0 | Host System...x86_64-pc-linux-gnu | Build System...x86_64-pc-linux-gnu | C compiler...ccache ccache gcc -isystem/src/build/tmp/work/x86_64-linux/openocd-native/0.10+gitrAUTOINC+ded6799025-r0/recipe-sysroot-native/usr/include -O2 -pipe | C++ compiler...ccache ccache g++ -isystem/src/build/tmp/work/x86_64-linux/openocd-native/0.10+gitrAUTOINC+ded6799025-r0/recipe-sysroot-native/usr/include -O2 -pipe | Build C compiler...ccache gcc | Checking for stdlib.h...not found | Error: Compiler does not work. See config.log | Try: 'configure --help' for options | configure: error: ./configure.gnu failed for jimtcl | WARNING: exit code 1 from a shell command. | Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
2020-08-28openocd: Update to latest git versionMarc
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-13openocd: Fix build with gcc10/-fno-commonKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-19openocd: Update libjaylinkAlistair Francis
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>
2019-12-19openocd: Enable remote-bitbang build optionAlistair Francis
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-11-06openocd: Update to latest git versionAlistair Francis
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-09-11openocd: Add --disable-werror alwaysKhem Raj
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-09openocd: disable werror when building with gccKhem Raj
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-07-30openocd: Fix build with glibc 2.30Khem Raj
sys/syctl.h is deprecated starting 2.30 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-21openocd: Fix build on x86_64Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-18openocd: Upgrade to latest git versionKhem Raj
Drop upstream'ed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07openocd: Fix build for risc-vKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-15openocd: prevent fetching git submodules during do_configureMartin Jansa
* 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-05-31openocd: Upgrade to latest tip of masterKhem Raj
Fix build with new libusb and gcc8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-17openocd: Upgrade to tip of masterKhem Raj
Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-06-19openocd: Fix build with gcc7Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-05-23openocd: Add recipe for openocdMoritz Fischer
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>