Andrew Geissler | 9347dd4 | 2023-03-03 12:38:41 -0600 | [diff] [blame] | 1 | # Common src definitions for trusted-firmware-m and trusted-firmware-m-scripts |
| 2 | |
| 3 | LICENSE = "BSD-2-Clause & BSD-3-Clause & Apache-2.0" |
| 4 | |
| 5 | LIC_FILES_CHKSUM = "file://license.rst;md5=07f368487da347f3c7bd0fc3085f3afa \ |
| 6 | file://../tf-m-tests/license.rst;md5=02d06ffb8d9f099ff4961c0cb0183a18 \ |
| 7 | file://../mbedtls/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
| 8 | file://../mcuboot/LICENSE;md5=b6ee33f1d12a5e6ee3de1e82fb51eeb8" |
| 9 | |
| 10 | SRC_URI_TRUSTED_FIRMWARE_M ?= "git://git.trustedfirmware.org/TF-M/trusted-firmware-m.git;protocol=https" |
| 11 | SRC_URI_TRUSTED_FIRMWARE_M_TESTS ?= "git://git.trustedfirmware.org/TF-M/tf-m-tests.git;protocol=https" |
| 12 | SRC_URI_TRUSTED_FIRMWARE_M_MBEDTLS ?= "git://github.com/ARMmbed/mbedtls.git;protocol=https" |
| 13 | SRC_URI_TRUSTED_FIRMWARE_M_MCUBOOT ?= "git://github.com/mcu-tools/mcuboot.git;protocol=https" |
| 14 | SRC_URI_TRUSTED_FIRMWARE_M_QCBOR ?= "git://github.com/laurencelundblade/QCBOR.git;protocol=https" |
| 15 | SRC_URI = "${SRC_URI_TRUSTED_FIRMWARE_M};branch=${SRCBRANCH_tfm};name=tfm;destsuffix=git/tfm \ |
| 16 | ${SRC_URI_TRUSTED_FIRMWARE_M_TESTS};branch=${SRCBRANCH_tfm-tests};name=tfm-tests;destsuffix=git/tf-m-tests \ |
| 17 | ${SRC_URI_TRUSTED_FIRMWARE_M_MBEDTLS};branch=${SRCBRANCH_mbedtls};name=mbedtls;destsuffix=git/mbedtls \ |
| 18 | ${SRC_URI_TRUSTED_FIRMWARE_M_MCUBOOT};branch=${SRCBRANCH_mcuboot};name=mcuboot;destsuffix=git/mcuboot \ |
| 19 | ${SRC_URI_TRUSTED_FIRMWARE_M_QCBOR};branch=${SRCBRANCH_qcbor};name=qcbor;destsuffix=git/qcbor \ |
| 20 | " |
| 21 | |
| 22 | # The required dependencies are documented in tf-m/config/config_default.cmake |
| 23 | # TF-Mv1.7.0 |
| 24 | SRCBRANCH_tfm ?= "master" |
| 25 | SRCREV_tfm = "b725a1346cdb9ec75b1adcdc4c84705881e8fd4e" |
| 26 | # TF-Mv1.7.0 |
| 27 | SRCBRANCH_tfm-tests ?= "master" |
| 28 | SRCREV_tfm-tests = "4c4b58041c6c01670266690538a780b4a23d08b8" |
| 29 | # mbedtls-3.2.1 |
| 30 | SRCBRANCH_mbedtls ?= "master" |
| 31 | SRCREV_mbedtls = "869298bffeea13b205343361b7a7daf2b210e33d" |
| 32 | # v1.9.0 |
| 33 | SRCBRANCH_mcuboot ?= "main" |
| 34 | SRCREV_mcuboot = "c657cbea75f2bb1faf1fceacf972a0537a8d26dd" |
| 35 | # qcbor |
| 36 | SRCBRANCH_qcbor ?= "master" |
| 37 | SRCREV_qcbor = "b0e7033268e88c9f27146fa9a1415ef4c19ebaff" |
| 38 | |
| 39 | SRCREV_FORMAT = "tfm" |
| 40 | |
| 41 | S = "${WORKDIR}/git/tfm" |