diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb index 568096c44..696307209 100644 --- a/recipes-bsp/mc-utils/mc-utils_git.bb +++ b/recipes-bsp/mc-utils/mc-utils_git.bb @@ -8,7 +8,7 @@ DEPENDS += "dtc-native" inherit deploy SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" -SRCREV = "8efeeac253ff780cbf1382ff40e09436d65e220d" +SRCREV = "5ccc2688b72c4a05119a393cbe3573b5f81d10bc" S = "${WORKDIR}/git" diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 5721313b2..a4ad982b1 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb @@ -8,7 +8,7 @@ DEPENDS += "tcl-native" inherit deploy siteinfo SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" -SRCREV = "020dcf0645959afec6705f518e8350476891ef4f" +SRCREV = "64abe70cf0abab053c37db460c12e367e6adf7a4" S = "${WORKDIR}/git" diff --git a/recipes-extended/libpkcs11/libpkcs11_git.bb b/recipes-extended/libpkcs11/libpkcs11_git.bb index 731b7a234..ca9f87ee8 100644 --- a/recipes-extended/libpkcs11/libpkcs11_git.bb +++ b/recipes-extended/libpkcs11/libpkcs11_git.bb @@ -1,5 +1,5 @@ DESCRIPTION = "PKCS library" -LICENSE = "GPL-2.0-only & BSD" +LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=803852533e29eb1d6d5e55ad3078b625" SRC_URI = "git://github.com/nxp-qoriq/libpkcs11;protocol=https;nobranch=1 \ diff --git a/recipes-extended/secure-obj/secure-obj-module_git.bb b/recipes-extended/secure-obj/secure-obj-module_git.bb index 3866dde48..1e5709b6d 100644 --- a/recipes-extended/secure-obj/secure-obj-module_git.bb +++ b/recipes-extended/secure-obj/secure-obj-module_git.bb @@ -1,6 +1,6 @@ require secure-obj.inc -LIC_FILES_CHKSUM = "file://../README;md5=82b72e88f23cded9dd23f0fb1790b8d2" +LIC_FILES_CHKSUM = "file://../LICENSE;md5=751419260aa954499f7abaabaa882bbe" DEPENDS += "virtual/kernel" diff --git a/recipes-extended/secure-obj/secure-obj.inc b/recipes-extended/secure-obj/secure-obj.inc index 64e4a6b71..16115ff03 100644 --- a/recipes-extended/secure-obj/secure-obj.inc +++ b/recipes-extended/secure-obj/secure-obj.inc @@ -1,5 +1,5 @@ DESCRIPTION = "Secure Object" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" DEPENDS = "openssl optee-os-qoriq optee-client-qoriq" RDEPENDS:${PN} = "bash libcrypto libssl" @@ -11,7 +11,7 @@ inherit python3native LDFLAGS += "${TOOLCHAIN_OPTIONS}" SRC_URI = "git://github.com/nxp-qoriq/secure_obj;protocol=https;nobranch=1" -SRCREV = "5ff1231f74b4b01744be95a3137a14ad0a483e61" +SRCREV = "4706a6534ec09f9a46bfe305c5e49badca32b4c6" WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" export SECURE_STORAGE_PATH = "${S}/secure_storage_ta/ta/" diff --git a/recipes-extended/secure-obj/secure-obj_git.bb b/recipes-extended/secure-obj/secure-obj_git.bb index 84ecea1ea..64f59f474 100644 --- a/recipes-extended/secure-obj/secure-obj_git.bb +++ b/recipes-extended/secure-obj/secure-obj_git.bb @@ -1,9 +1,11 @@ require secure-obj.inc -LIC_FILES_CHKSUM = "file://README;md5=82b72e88f23cded9dd23f0fb1790b8d2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" S = "${WORKDIR}/git" +DEPENDS:remove = " python3-pycryptodomex-native" +DEPENDS:append = " python3-cryptography-native optee-os-qoriq-tadevkit" RDEPENDS:{PN} += "secure-obj-module" WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" @@ -17,14 +19,15 @@ CFLAGS += "${TOOLCHAIN_OPTIONS}" do_compile() { unset LDFLAGS - export TA_DEV_KIT_DIR="${RECIPE_SYSROOT}/usr/include/optee/export-user_ta" + export TA_DEV_KIT_DIR=${STAGING_INCDIR}/optee/export-user_ta/ export CROSS_COMPILE="${WRAP_TARGET_PREFIX}" - export OPENSSL_PATH="${RECIPE_SYSROOT}/usr" - for APP in secure_storage_ta securekey_lib secure_obj-openssl-engine; do + export OPENSSL_PATH="${RECIPE_SYSROOT}/usr" + export OPENSSL_MODULES=${STAGING_LIBDIR_NATIVE}/ossl-modules + for APP in secure_storage_ta securekey_lib secure_obj-openssl-engine; do cd ${APP} oe_runmake cd .. - done + done } do_install() {