[meta-arm,3/4] arm/trusted-firmware-a: consolidate SRC_URI and S
Submitted by Ross Burton on Nov. 19, 2020, 8:45 a.m.
|
Patch ID: 178135
Details
Commit Message
@@ -7,6 +7,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit deploy
+SRC_URI = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa"
+
COMPATIBLE_MACHINE ?= "invalid"
COMPATIBLE_MACHINE_qemuarm64 ?= "qemuarm64"
@@ -27,6 +29,7 @@ TFA_SPD_aarch64_qemuall ?= "opteed"
# Build for debug (set TFA_DEBUG to 1 to activate)
TFA_DEBUG ?= "0"
+S = "${WORKDIR}/git"
B = "${WORKDIR}/build"
# mbed TLS support (set TFA_MBEDTLS to 1 to activate)
@@ -4,16 +4,12 @@
require trusted-firmware-a.inc
-SRC_URI = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa"
-
# Use TF-A for version
SRCREV_FORMAT = "tfa"
# TF-A v1.5
SRCREV_tfa = "ed8112606c54d85781fc8429160883d6310ece32"
-S = "${WORKDIR}/git"
-
LIC_FILES_CHKSUM += "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443"
#
@@ -4,16 +4,12 @@
require trusted-firmware-a.inc
-SRC_URI = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa"
-
# Use TF-A for version
SRCREV_FORMAT = "tfa"
# TF-A v2.1
SRCREV_tfa = "e1286bdb968ee74fc52f96cf303a4218e1ae2950"
-S = "${WORKDIR}/git"
-
LIC_FILES_CHKSUM += "file://license.rst;md5=c709b197e22b81ede21109dbffd5f363"
#
@@ -4,16 +4,12 @@
require trusted-firmware-a.inc
-SRC_URI = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa"
-
# Use TF-A for version
SRCREV_FORMAT = "tfa"
# TF-A v2.2
SRCREV_tfa = "7192b956bde11652a835eee0724dca0e403fee90"
-S = "${WORKDIR}/git"
-
LIC_FILES_CHKSUM += "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
#
@@ -4,16 +4,12 @@
require trusted-firmware-a.inc
-SRC_URI = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa"
-
# Use TF-A for version
SRCREV_FORMAT = "tfa"
# TF-A v2.3
SRCREV_tfa = "ecd27ad85f1eba29f6bf92c39dc002c85b07dad5"
-S = "${WORKDIR}/git"
-
LIC_FILES_CHKSUM += "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
#
@@ -8,13 +8,9 @@ DEFAULT_PREFERENCE = "-1"
require trusted-firmware-a.inc
-SRC_URI = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa"
-
# Use TF-A for version
SRCREV_FORMAT = "tfa"
-S = "${WORKDIR}/git"
-
LIC_FILES_CHKSUM += "file://docs/license.rst;md5=189505435dbcdcc8caa63c46fe93fa89"
#
All the recipes use the same value for SRC_URI and S, so consolidate them into the include file. Change-Id: Ieda6b0104e163ce46190e9fc5756a264f7198f25 Signed-off-by: Ross Burton <ross.burton@arm.com> --- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a.inc | 3 +++ .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_1.5.bb | 4 ---- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.1.bb | 4 ---- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.2.bb | 4 ---- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.3.bb | 4 ---- .../recipes-bsp/trusted-firmware-a/trusted-firmware-a_git.bb | 4 ---- 6 files changed, 3 insertions(+), 20 deletions(-) -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1394): https://lists.yoctoproject.org/g/meta-arm/message/1394 Mute This Topic: https://lists.yoctoproject.org/mt/78360762/1003190 Group Owner: meta-arm+owner@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org] -=-=-=-=-=-=-=-=-=-=-=-