Skip to content

Commit c67b835

Browse files
committed
support/hosttools: update for poky 5
Updates needed to make those recipes work with poky 5. Signed-off-by: Anas Nashif <[email protected]>
1 parent 9b7eb22 commit c67b835

File tree

8 files changed

+23
-38
lines changed

8 files changed

+23
-38
lines changed

meta-zephyr-sdk/recipes-hosttools/bossa/bossa_git.bb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ HOMEPAGE = "https://github.com/shumatech/BOSSA"
66
# sudo apt-get install wx2.8-headers libwxgtk2.8-0 libwxgtk2.8-dev
77
#
88

9-
LICENSE = "BSD"
9+
LICENSE = "BSD-3-Clause"
1010
LIC_FILES_CHKSUM = "file://LICENSE;md5=bcf9399f7b9b96149837290bcdc3ad39"
1111

1212
DEPENDS = "readline"
1313

1414
PR = "r0"
1515
SRCREV = "3532de82efd28fadbabc2b258d84dddf14298107"
16-
SRC_URI = "git://github.com/shumatech/BOSSA.git;protocol=https \
16+
SRC_URI = "git://github.com/shumatech/BOSSA.git;protocol=https;branch=master \
1717
file://0001-Wait-for-EEFC-flash-to-complete-operations-before-re.patch \
1818
file://0001-Flash.h-Add-flash-override-samba-error.patch \
1919
file://0002-CalwFlash-Add-SAM4L-Flashcalw-controller.patch \

meta-zephyr-sdk/recipes-hosttools/hosttools/hosttools-tarball.bb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,23 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
66
TOOLCHAIN_TARGET_TASK ?= ""
77

88
TOOLCHAIN_HOST_TASK ?= "\
9-
nativesdk-arc-qemu \
10-
nativesdk-zephyr-qemu \
11-
nativesdk-xilinx-qemu \
12-
nativesdk-openocd \
139
nativesdk-bossa \
10+
nativesdk-openocd \
1411
nativesdk-dtc \
12+
nativesdk-arc-qemu \
13+
nativesdk-legacy-qemu \
14+
nativesdk-qemu-zephyr \
1515
"
1616

1717
TOOLCHAIN_OUTPUTNAME ?= "${DISTRO}-${SDKMACHINE}-hosttools-standalone-${DISTRO_VERSION}"
1818

1919
RDEPENDS = "${TOOLCHAIN_HOST_TASK}"
2020

21-
inherit meta
21+
#inherit meta
2222
inherit populate_sdk
2323
inherit toolchain-scripts
2424

25-
create_sdk_files_append () {
25+
create_sdk_files:append () {
2626
rm -f ${SDK_OUTPUT}/${SDKPATH}/site-config-*
2727
rm -f ${SDK_OUTPUT}/${SDKPATH}/environment-setup-*
2828
rm -f ${SDK_OUTPUT}/${SDKPATH}/version-*

meta-zephyr-sdk/recipes-hosttools/openocd/openocd_git.bb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
LICENSE = "GPLv2"
22
LIC_FILES_CHKSUM = "file://LICENSES/preferred/GPL-2.0;md5=71ce3767d42ca42cd575f91c56eefe79"
3-
DEPENDS = "libusb-compat hidapi libftdi"
3+
DEPENDS = "hidapi libftdi"
44
RDEPENDS_${PN} = "libusb1 hidapi"
55

66
SRC_URI = " \
7-
git://github.com/zephyrproject-rtos/openocd.git;protocol=https;nobranch=1 \
7+
gitsm://github.com/zephyrproject-rtos/openocd.git;protocol=https;nobranch=1 \
88
"
9-
SRCREV = "b6f95a16c1360e347a06faf91befd122c0d15864"
9+
SRCREV = "51dbf7050b34a40f28c3fc7b5f4e49326c3e3aa6"
1010

1111
S = "${WORKDIR}/git"
1212

1313
inherit pkgconfig autotools gettext
1414

1515
BBCLASSEXTEND += "nativesdk"
1616

17-
EXTRA_OECONF = "--enable-ftdi --enable-cmsis-dap --enable-jlink --enable-stlink --disable-doxygen-html "
17+
EXTRA_OECONF = "--enable-ftdi --enable-cmsis-dap --enable-jlink --enable-stlink --disable-doxygen-html --disable-git-update"
1818

1919
do_configure() {
2020
cd ${S}

meta-zephyr-sdk/recipes-support/hidapi/hidapi_git.bb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BBCLASSEXTEND += " native nativesdk"
1212

1313
inherit autotools pkgconfig
1414

15-
SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https"
16-
PV = "0.9.0"
17-
SRCREV = "7da5cc91fc0d2dbe4df4f08cd31f6ca1a262418f"
15+
SRC_URI = "git://github.com/libusb/hidapi.git;protocol=https;branch=master"
16+
PV = "0.14.0"
17+
SRCREV = "d3013f0af3f4029d82872c1a9487ea461a56dee4"
1818
S = "${WORKDIR}/git"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Override the source URL for libpcre2 since the old mirror specified in the
22
# meta layer is no longer available.
33

4-
SRC_URI_prepend = "https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${PV}/pcre2-${PV}.tar.bz2 "
4+
SRC_URI:prepend = "https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${PV}/pcre2-${PV}.tar.bz2 "
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Override the source URL for libpcre since the old mirror specified in the
22
# meta layer is no longer available.
33

4-
SRC_URI_prepend = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 "
4+
SRC_URI:prepend = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 "

meta-zephyr-sdk/recipes-support/libusb/libusb-compat/0001-usb.h-Include-sys-types.h.patch

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,9 @@
1-
From 840795dcb48214b74cfde75e7ce5e8a1a6c64a46 Mon Sep 17 00:00:00 2001
2-
From: Khem Raj <[email protected]>
3-
Date: Thu, 2 Apr 2015 19:18:45 -0700
4-
Subject: [PATCH] usb.h: Include sys/types.h
5-
6-
We need the definitions for things like u_intX_t
7-
8-
Upstream-Status: Pending
9-
10-
Signed-off-by: Khem Raj <[email protected]>
11-
12-
---
13-
libusb/usb.h | 2 ++
14-
1 file changed, 2 insertions(+)
15-
161
diff --git a/libusb/usb.h b/libusb/usb.h
17-
index fa0e6c6..4e88eb8 100644
2+
index ea62543..4f1752d 100644
183
--- a/libusb/usb.h
194
+++ b/libusb/usb.h
20-
@@ -45,6 +45,8 @@ typedef unsigned __int32 uint32_t;
21-
#include <stdint.h>
5+
@@ -51,6 +51,8 @@ typedef unsigned __int32 uint32_t;
6+
#include <linux/limits.h>
227
#endif
238

249
+#include <sys/types.h>

meta-zephyr-sdk/recipes-support/libusb/libusb-compat_0.1.7.bb renamed to meta-zephyr-sdk/recipes-support/libusb/libusb-compat_0.1.8.bb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ BBCLASSEXTEND = "native nativesdk"
1919
PE = "1"
2020

2121
SRC_URI = " \
22-
git://github.com/libusb/libusb-compat-0.1.git;protocol=https \
22+
git://github.com/libusb/libusb-compat-0.1.git;protocol=https;branch=master \
2323
file://0001-usb.h-Include-sys-types.h.patch \
2424
"
25-
SRCREV = "4a27760ec5954ec8605e052a3207afbe0979eeef"
25+
SRCREV = "3e8a88d296b5405902c22d2ada61937bd9a89415"
2626
S = "${WORKDIR}/git"
2727

2828
UPSTREAM_CHECK_URI = "https://github.com/libusb/libusb-compat-0.1/releases"
@@ -33,7 +33,7 @@ inherit autotools pkgconfig binconfig-disabled lib_package
3333

3434
EXTRA_OECONF = "--libdir=${base_libdir}"
3535

36-
do_install_append() {
36+
do_install:append() {
3737
install -d ${D}${libdir}
3838
if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
3939
mv ${D}${base_libdir}/pkgconfig ${D}${libdir}

0 commit comments

Comments
 (0)