17 lines
580 B
BlitzBasic
17 lines
580 B
BlitzBasic
# Copyright (C) 2020 NXP
|
|
require optee-os.imx.inc
|
|
|
|
DEPENDS_append = " python3-pycryptodomex-native"
|
|
|
|
SRCBRANCH = "imx_5.4.47_2.2.0"
|
|
SRCREV = "b3914e547eaf90684b5630921d609126634ce64b"
|
|
|
|
# tee-init_load_addr.txt has been remove in lates optee-os version.
|
|
# to keep backward compatibility with existing optee-os recipe.
|
|
do_compile_append () {
|
|
if [ "${OPTEE_ARCH}" != "arm64" ]; then
|
|
IMX_LOAD_ADDR=`${TARGET_PREFIX}readelf -h ${B}/core/tee.elf | grep "Entry point address" | awk '{print $4}'` && \
|
|
echo ${IMX_LOAD_ADDR} > ${B}/core/tee-init_load_addr.txt
|
|
fi
|
|
}
|