diff options
| author | Steffen Trumtrar <s.trumtrar@pengutronix.de> | 2023-04-27 14:45:08 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-04-27 09:58:33 -0700 |
| commit | 671c0eb92b56ff04d69310a53a1bbfc0a97be6bc (patch) | |
| tree | 3680acb9e490cc00abb21e78572a8b070571a3a8 | |
| parent | 2e0f2675045c05cd1a95db870aa0455e0e372bd4 (diff) | |
| download | meta-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.patch | 30 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/openocd/openocd_git.bb | 7 |
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 @@ | |||
| 1 | From 29e8dfae4593c91f11d7ea31a4722a6d82f6c950 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Kory Maincent <kory.maincent@bootlin.com> | ||
| 3 | Date: Wed, 2 Nov 2022 16:39:30 +0100 | ||
| 4 | Subject: [PATCH] autosetup: cc-check-tools: check only the name of the tool | ||
| 5 | without its params | ||
| 6 | |||
| 7 | Update the tool existence check. Test only the first word of the | ||
| 8 | args to keep only the executable without its parameters. | ||
| 9 | |||
| 10 | Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> | ||
| 11 | --- | ||
| 12 | autosetup/cc.tcl | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/jimtcl/autosetup/cc.tcl b/jimtcl/autosetup/cc.tcl | ||
| 16 | index 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 | -- | ||
| 29 | 2.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 @@ | |||
| 1 | SUMMARY = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing" | 1 | SUMMARY = "Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing" |
| 2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=599d2d1ee7fc84c0467b3d19801db870" |
| 4 | DEPENDS = "libusb-compat libftdi" | 4 | DEPENDS = "libusb-compat libftdi" |
| 5 | RDEPENDS:${PN} = "libusb1" | 5 | RDEPENDS:${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 | ||
| 15 | SRCREV_FORMAT = "openocd" | 14 | SRCREV_FORMAT = "openocd" |
| 16 | SRCREV_openocd = "f342aac0845a69d591ad39a025d74e9c765f6420" | 15 | SRCREV_openocd = "91bd4313444c5a949ce49d88ab487608df7d6c37" |
| 17 | SRCREV_git2cl = "8373c9f74993e218a08819cbcdbab3f3564bbeba" | 16 | SRCREV_git2cl = "8373c9f74993e218a08819cbcdbab3f3564bbeba" |
| 18 | SRCREV_jimtcl = "0aa0fb4e3a38d38a49de9eb585d93d63a370dcf6" | 17 | SRCREV_jimtcl = "0aa0fb4e3a38d38a49de9eb585d93d63a370dcf6" |
| 19 | SRCREV_libjaylink = "9aa7a5957c07bb6e862fc1a6d3153d109c7407e4" | 18 | SRCREV_libjaylink = "9aa7a5957c07bb6e862fc1a6d3153d109c7407e4" |
| 20 | 19 | ||
| 21 | PV = "0.11+gitr${SRCPV}" | 20 | PV = "0.12+gitr${SRCPV}" |
| 22 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
| 23 | 22 | ||
| 24 | inherit pkgconfig autotools-brokensep gettext | 23 | inherit pkgconfig autotools-brokensep gettext |
