Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB90FC433F5 for ; Mon, 24 Jan 2022 16:30:03 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.5977.1643041803177176175 for ; Mon, 24 Jan 2022 08:30:03 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id BCEA6D6E for ; Mon, 24 Jan 2022 08:30:02 -0800 (PST) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 68D2F3F793 for ; Mon, 24 Jan 2022 08:30:02 -0800 (PST) From: Ross Burton To: meta-arm@lists.yoctoproject.org Subject: [PATCH 1/4] arm/trusted-firmware-m: use relative paths for SRC_URI destsuffix Date: Mon, 24 Jan 2022 16:29:44 +0000 Message-Id: <20220124162947.3796440-1-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 24 Jan 2022 16:30:03 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/2894 It's not recommended to use ${S} in SRC_URI as S contains references to the version which results in a circular list of variable lookups. destsuffix is relative to WORKDIR and defaults to git/, so use relative paths with the same result. Signed-off-by: Ross Burton --- .../trusted-firmware-m/trusted-firmware-m_1.5.0.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1= .5.0.bb b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.= 0.bb index fe3f729c..302fd2cd 100644 --- a/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb +++ b/meta-arm/recipes-bsp/trusted-firmware-m/trusted-firmware-m_1.5.0.bb @@ -15,11 +15,11 @@ LIC_FILES_CHKSUM =3D "file://license.rst;md5=3D07f368= 487da347f3c7bd0fc3085f3afa \ file://../mbedtls/LICENSE;md5=3D3b83ef96387f14655fc8= 54ddc3c6bd57 \ file://../mcuboot/LICENSE;md5=3Db6ee33f1d12a5e6ee3de= 1e82fb51eeb8" =20 -SRC_URI =3D "git://git.trustedfirmware.org/TF-M/trusted-firmware-m.git;= protocol=3Dhttps;branch=3D${SRCBRANCH_tfm};name=3Dtfm;destsuffix=3D${S} \ - git://git.trustedfirmware.org/TF-M/tf-m-tests.git;protocol=3D= https;branch=3Drelease/1.5.x;name=3Dtfm-tests;destsuffix=3D${S}/../tf-m-t= ests \ - git://github.com/ARMmbed/mbedtls.git;protocol=3Dhttps;branch= =3Dmaster;name=3Dmbedtls;destsuffix=3D${S}/../mbedtls \ - git://github.com/mcu-tools/mcuboot.git;protocol=3Dhttps;bran= ch=3Dmain;name=3Dmcuboot;destsuffix=3D${S}/../mcuboot \ - file://cbor2.patch;patchdir=3D${S}/../mcuboot \ +SRC_URI =3D "git://git.trustedfirmware.org/TF-M/trusted-firmware-m.git;= protocol=3Dhttps;branch=3D${SRCBRANCH_tfm};name=3Dtfm;destsuffix=3Dgit/tf= m \ + git://git.trustedfirmware.org/TF-M/tf-m-tests.git;protocol=3D= https;branch=3Drelease/1.5.x;name=3Dtfm-tests;destsuffix=3Dgit/tf-m-tests= \ + git://github.com/ARMmbed/mbedtls.git;protocol=3Dhttps;branch= =3Dmaster;name=3Dmbedtls;destsuffix=3Dgit/mbedtls \ + git://github.com/mcu-tools/mcuboot.git;protocol=3Dhttps;bran= ch=3Dmain;name=3Dmcuboot;destsuffix=3Dgit/mcuboot \ + file://cbor2.patch;patchdir=3D../mcuboot \ " =20 # The required dependencies are documented in tf-m/config/config_default= .cmake --=20 2.25.1