Skip to content

Commit

Permalink
secure-obj: Update to latest from NXP 6.6.36-2.1.0
Browse files Browse the repository at this point in the history
 - secure-obj: update license; update revision to 4706a65; make it compatible with OPTEE 3.17+
 - secure-obj-module: update license; update revision to 4706a65

Signed-off-by: Flora Hu <[email protected]>
  • Loading branch information
flora2086 committed Nov 5, 2024
1 parent 412acc2 commit 1e3e3eb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion recipes-extended/secure-obj/secure-obj-module_git.bb
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
4 changes: 2 additions & 2 deletions recipes-extended/secure-obj/secure-obj.inc
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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/"
Expand Down
13 changes: 8 additions & 5 deletions recipes-extended/secure-obj/secure-obj_git.bb
Original file line number Diff line number Diff line change
@@ -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}"
Expand All @@ -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() {
Expand Down

0 comments on commit 1e3e3eb

Please sign in to comment.