summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Trumtrar <s.trumtrar@pengutronix.de>2023-04-27 14:45:08 +0200
committerKhem Raj <raj.khem@gmail.com>2023-04-27 09:58:33 -0700
commit671c0eb92b56ff04d69310a53a1bbfc0a97be6bc (patch)
tree3680acb9e490cc00abb21e78572a8b070571a3a8
parent2e0f2675045c05cd1a95db870aa0455e0e372bd4 (diff)
downloadmeta-openembedded-671c0eb92b56ff04d69310a53a1bbfc0a97be6bc.tar.gz
openocd: 0.11->0.12
Update OpenOcd to the neweset release. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
-rw-r--r--meta-oe/recipes-devtools/openocd/openocd/0001-autosetup-cc-check-tools-check-only-the-name.patch30
-rw-r--r--meta-oe/recipes-devtools/openocd/openocd_git.bb7
2 files changed, 3 insertions, 34 deletions
diff --git a/meta-oe/recipes-devtools/openocd/openocd/0001-autosetup-cc-check-tools-check-only-the-name.patch b/meta-oe/recipes-devtools/openocd/openocd/0001-autosetup-cc-check-tools-check-only-the-name.patch
deleted file mode 100644
index 165c658d08..0000000000
--- a/meta-oe/recipes-devtools/openocd/openocd/0001-autosetup-cc-check-tools-check-only-the-name.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 29e8dfae4593c91f11d7ea31a4722a6d82f6c950 Mon Sep 17 00:00:00 2001
2From: Kory Maincent <kory.maincent@bootlin.com>
3Date: Wed, 2 Nov 2022 16:39:30 +0100
4Subject: [PATCH] autosetup: cc-check-tools: check only the name of the tool
5 without its params
6
7Update the tool existence check. Test only the first word of the
8args to keep only the executable without its parameters.
9
10Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
11---
12 autosetup/cc.tcl | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/jimtcl/autosetup/cc.tcl b/jimtcl/autosetup/cc.tcl
16index 585d259..4c87854 100644
17--- a/jimtcl/autosetup/cc.tcl
18+++ b/jimtcl/autosetup/cc.tcl
19@@ -264,7 +264,7 @@ proc cc-check-tools {args} {
20 foreach tool $args {
21 set TOOL [string toupper $tool]
22 set exe [get-env $TOOL [get-define cross]$tool]
23- if {[find-executable {*}$exe]} {
24+ if {[find-executable {*}[regexp -inline {\S+} $exe]]} {
25 define $TOOL $exe
26 continue
27 }
28--
292.25.1
30
diff --git a/meta-oe/recipes-devtools/openocd/openocd_git.bb b/meta-oe/recipes-devtools/openocd/openocd_git.bb
index 06d77b6a9e..ce10a92644 100644
--- a/meta-oe/recipes-devtools/openocd/openocd_git.bb
+++ b/meta-oe/recipes-devtools/openocd/openocd_git.bb
@@ -1,6 +1,6 @@
1SUMMARY = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing" 1SUMMARY = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing"
2LICENSE = "GPL-2.0-only" 2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 3LIC_FILES_CHKSUM = "file://COPYING;md5=599d2d1ee7fc84c0467b3d19801db870"
4DEPENDS = "libusb-compat libftdi" 4DEPENDS = "libusb-compat libftdi"
5RDEPENDS:${PN} = "libusb1" 5RDEPENDS:${PN} = "libusb1"
6 6
@@ -9,16 +9,15 @@ SRC_URI = " \
9 git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \ 9 git://repo.or.cz/r/git2cl.git;protocol=http;destsuffix=tools/git2cl;name=git2cl;branch=master \
10 git://repo.or.cz/r/jimtcl.git;protocol=http;destsuffix=git/jimtcl;name=jimtcl;branch=master \ 10 git://repo.or.cz/r/jimtcl.git;protocol=http;destsuffix=git/jimtcl;name=jimtcl;branch=master \
11 git://repo.or.cz/r/libjaylink.git;protocol=http;destsuffix=git/src/jtag/drivers/libjaylink;name=libjaylink;branch=master \ 11 git://repo.or.cz/r/libjaylink.git;protocol=http;destsuffix=git/src/jtag/drivers/libjaylink;name=libjaylink;branch=master \
12 file://0001-autosetup-cc-check-tools-check-only-the-name.patch \
13" 12"
14 13
15SRCREV_FORMAT = "openocd" 14SRCREV_FORMAT = "openocd"
16SRCREV_openocd = "f342aac0845a69d591ad39a025d74e9c765f6420" 15SRCREV_openocd = "91bd4313444c5a949ce49d88ab487608df7d6c37"
17SRCREV_git2cl = "8373c9f74993e218a08819cbcdbab3f3564bbeba" 16SRCREV_git2cl = "8373c9f74993e218a08819cbcdbab3f3564bbeba"
18SRCREV_jimtcl = "0aa0fb4e3a38d38a49de9eb585d93d63a370dcf6" 17SRCREV_jimtcl = "0aa0fb4e3a38d38a49de9eb585d93d63a370dcf6"
19SRCREV_libjaylink = "9aa7a5957c07bb6e862fc1a6d3153d109c7407e4" 18SRCREV_libjaylink = "9aa7a5957c07bb6e862fc1a6d3153d109c7407e4"
20 19
21PV = "0.11+gitr${SRCPV}" 20PV = "0.12+gitr${SRCPV}"
22S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"
23 22
24inherit pkgconfig autotools-brokensep gettext 23inherit pkgconfig autotools-brokensep gettext