summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/openocd
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-3/+2
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: Update patch upstream statusSofiane HAMAM2025-04-071-1/+1
| | | | | | | | | The patch has been merged. see: https://review.openocd.org/q/6834f022b96fb1c7f5829166578e01a0ac223cb0 Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd : Fix non reproducible buildSofiane HAMAM2025-04-042-0/+39
| | | | | | | | | | | | This package defines PKGBLDDATE as build timestamp which makes it non reproducible. Use SOURCE_DATE_EPOCH if it is found, otherwise use build timestamp. Following best practices, see : https://reproducible-builds.org/docs/source-date-epoch/ Co-developed-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: drop remaining +gitr casesMartin Jansa2024-02-091-1/+1
| | | | | | | | | | | | | : drop 'r' from gitr and ${SRCPV} * +git is preferred over +gitr since 2012: https://lists.openembedded.org/g/openembedded-core/topic/72154716#16837 some recipes still use +gitr, because updating it would cause PV going backwards but without share PRservice the version-going-backwards QA issues are quite common and most people probably cannot depend on always-increasing version number already Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* recipes: drop ${SRCPV} usageMartin Jansa2024-02-091-1/+1
| | | | | | | | | | * Drop SRCPV similarly like oe-core did in: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872 * SRCPV is deferred now from PV to PKGV since: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* openocd: Use https for githubFabio Estevam2023-11-031-1/+1
| | | | | | | | | | Per convert-srcuri.py script, github repos should be accessed via https. Change it accordingly. Signed-off-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: enable jtag-vpi and buspirateSteffen Trumtrar2023-04-271-1/+1
| | | | | | | Enable support for the virtual JTAG VPI adapter, for use with a Verilog Simulator and the Buspirate. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* openocd: fix jimtcl urlSteffen Trumtrar2023-04-271-2/+2
| | | | | | | The repo.cz URL is marked as deprecated. The official, maintained version is hosted on github. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* openocd: 0.11->0.12Steffen Trumtrar2023-04-272-34/+3
| | | | | | Update OpenOcd to the neweset release. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* openocd: fix build errorKory Maincent2022-11-092-0/+31
| | | | | | | | | | | | | | | The update of RANLIB environment to "ranlib -D" in OE caused an error in the openocd executable check. Indeed it is not compatible with a environment compound with the tool name and a parameter. cc.tcl:272: Error: wrong # args: should be "find-executable name" configure: error: ./configure.gnu failed for jimtcl This patch fixes it by patching openocd executable test to check the first word of the environment only. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-4/+4
| | | | | | | | | 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: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-2/+2
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* openocd: upgrade 0.10 -> 0.11zhengruoqin2021-03-161-2/+2
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: disable the support of ccacheThomas Perrot2020-12-081-0/+3
| | | | | | | | | | | | | | | | | | | | 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>
* openocd: Update to latest git versionMarc2020-08-283-80/+3
| | | | | | | | | | 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>
* openocd: Fix build with gcc10/-fno-commonKhem Raj2020-08-132-0/+43
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: Update libjaylinkAlistair Francis2020-05-191-1/+1
| | | | | | | 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>
* openocd: Enable remote-bitbang build optionAlistair Francis2019-12-191-1/+2
| | | | | | | | 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>
* openocd: Update to latest git versionAlistair Francis2019-11-062-64/+4
| | | | | | | | | | 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>
* openocd: Add --disable-werror alwaysKhem Raj2019-09-111-2/+2
| | | | | | | | | 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>
* openocd: disable werror when building with gccKhem Raj2019-09-091-1/+1
| | | | | | | | | | 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>
* openocd: Fix build with glibc 2.30Khem Raj2019-07-302-0/+34
| | | | | | sys/syctl.h is deprecated starting 2.30 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: Fix build on x86_64Khem Raj2019-05-212-0/+60
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: Upgrade to latest git versionKhem Raj2019-05-182-41/+1
| | | | | | Drop upstream'ed patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: Fix build for risc-vKhem Raj2019-03-071-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: prevent fetching git submodules during do_configureMartin Jansa2018-08-151-6/+15
| | | | | | | | | | | | | | | * 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>
* openocd: Upgrade to latest tip of masterKhem Raj2018-05-312-2/+42
| | | | | | Fix build with new libusb and gcc8 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openocd: Upgrade to tip of masterKhem Raj2018-05-176-298/+1
| | | | | | | Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* openocd: Fix build with gcc7Khem Raj2017-06-196-2/+299
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* openocd: Add recipe for openocdMoritz Fischer2017-05-231-0/+44
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>