瀏覽代碼

stm32mp15x: Update to OP-TEE 3.11.0 and tune version output

Bump the version and make sure it is visible to the build as we are not
compiling over a git tree with tags.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Jan Kiszka 4 年之前
父節點
當前提交
cd1327a47a
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.11.0.bb

+ 7 - 1
meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.10.0.bb → meta-isar/recipes-bsp/optee-os/optee-os-stm32mp15x_3.11.0.bb

@@ -6,7 +6,7 @@
 require recipes-bsp/optee-os/optee-os-custom.inc
 
 SRC_URI += "https://github.com/OP-TEE/optee_os/archive/${PV}.tar.gz"
-SRC_URI[sha256sum] = "d30776ab051b701cdd2b71d32ff5cd54285a688440cc90aefd14b4f0f6495d7c"
+SRC_URI[sha256sum] = "3c34eda1052fbb9ed36fcfdfaecfd2685023b9290670c1a5982f8a0457bfd2cb"
 
 S = "${WORKDIR}/optee_os-${PV}"
 
@@ -17,3 +17,9 @@ OPTEE_EXTRA_BUILDARGS = " \
     ARCH=arm CFG_EMBED_DTB_SOURCE_FILE=stm32mp157c-ev1.dts \
     CFG_TEE_CORE_LOG_LEVEL=2"
 OPTEE_BINARIES = "tee-header_v2.stm32 tee-pageable_v2.stm32 tee-pager_v2.stm32"
+
+# Set version manually to PV, the tarball does not contain any hint.
+# Alternative: pull from git and add git as build dependency.
+dpkg_runbuild_prepend() {
+    export TEE_IMPL_VERSION=${PV}
+}