SDK and recipes update
README improvments Change-Id: Ib1f1a70f63e57b34f9db27bd7ed31cbd4e552df9
This commit is contained in:
1 parent
170847c448
commit
dcc955d699
11 files changed
+171
-61
No files matched your search
@@ -60,6 +60,10 @@ OPTEE_HEADER = "tee-header_v2"
|
||||
OPTEE_PAGEABLE = "tee-pageable_v2"
|
||||
OPTEE_PAGER = "tee-pager_v2"
|
||||
OPTEE_SUFFIX = "stm32"
|
||||
# Output the ELF generated
|
||||
ELF_DEBUG_ENABLE ?= ""
|
||||
OPTEE_ELF = "tee"
|
||||
OPTEE_ELF_SUFFIX = "elf"
|
||||
|
||||
do_deploy() {
|
||||
install -d ${DEPLOYDIR}
|
||||
@@ -68,11 +72,17 @@ do_deploy() {
|
||||
install -m 644 ${B}/${conf}/core/${OPTEE_HEADER}.${OPTEE_SUFFIX} ${DEPLOYDIR}/${OPTEE_HEADER}-${conf}-${OPTEE_BOOTCHAIN}.${OPTEE_SUFFIX}
|
||||
install -m 644 ${B}/${conf}/core/${OPTEE_PAGER}.${OPTEE_SUFFIX} ${DEPLOYDIR}/${OPTEE_PAGER}-${conf}-${OPTEE_BOOTCHAIN}.${OPTEE_SUFFIX}
|
||||
install -m 644 ${B}/${conf}/core/${OPTEE_PAGEABLE}.${OPTEE_SUFFIX} ${DEPLOYDIR}/${OPTEE_PAGEABLE}-${conf}-${OPTEE_BOOTCHAIN}.${OPTEE_SUFFIX}
|
||||
if [ -n "${ELF_DEBUG_ENABLE}" ]; then
|
||||
install -m 644 ${B}/${conf}/core/${OPTEE_ELF}.${OPTEE_ELF_SUFFIX} ${DEPLOYDIR}/${OPTEE_ELF}-${conf}-${OPTEE_BOOTCHAIN}.${OPTEE_ELF_SUFFIX}
|
||||
fi
|
||||
done
|
||||
else
|
||||
install -m 644 ${B}/core/${OPTEE_HEADER}.${OPTEE_SUFFIX} ${DEPLOYDIR}/${OPTEE_HEADER}-${OPTEE_BOOTCHAIN}.${OPTEE_SUFFIX}
|
||||
install -m 644 ${B}/core/${OPTEE_PAGER}.${OPTEE_SUFFIX} ${DEPLOYDIR}/${OPTEE_PAGER}-${OPTEE_BOOTCHAIN}.${OPTEE_SUFFIX}
|
||||
install -m 644 ${B}/core/${OPTEE_PAGEABLE}.${OPTEE_SUFFIX} ${DEPLOYDIR}/${OPTEE_PAGEABLE}-${OPTEE_BOOTCHAIN}.${OPTEE_SUFFIX}
|
||||
if [ -n "${ELF_DEBUG_ENABLE}" ]; then
|
||||
install -m 644 ${B}/core/${OPTEE_ELF}.${OPTEE_ELF_SUFFIX} ${DEPLOYDIR}/${OPTEE_ELF}-${OPTEE_BOOTCHAIN}.${OPTEE_ELF_SUFFIX}
|
||||
fi
|
||||
fi
|
||||
}
|
||||
addtask deploy before do_build after do_compile
|
||||
|
||||
@@ -14,7 +14,8 @@ SRC_URI += " \
|
||||
|
||||
require optee-os-stm32mp.inc
|
||||
|
||||
PV = "3.3.0"
|
||||
OPTEE_VERSION = "3.3.0"
|
||||
PV = "${OPTEE_VERSION}"
|
||||
|
||||
S = "${WORKDIR}/optee_os-${PV}"
|
||||
|
||||
@@ -29,8 +30,10 @@ do_configure_prepend(){
|
||||
# ---------------------------------
|
||||
BBCLASSEXTEND = "devupstream:target"
|
||||
|
||||
SRC_URI_class-devupstream = "git://github.com/STMicroelectronics/optee_os.git;protocol=https;branch=3.3.0-stm32mp"
|
||||
SRC_URI_class-devupstream = "git://github.com/STMicroelectronics/optee_os.git;protocol=https;name=opteeos;branch=3.3.0-stm32mp"
|
||||
SRCREV_class-devupstream = "5f5cc70dfd04419be2ba66b87f41584b6136118c"
|
||||
SRCREV_FORMAT_class-devupstream = "opteeos"
|
||||
PV_class-devupstream = "${OPTEE_VERSION}+github+${SRCPV}"
|
||||
|
||||
# ---------------------------------
|
||||
# Configure default preference to manage dynamic selection between tarball and github
|
||||
|
||||
@@ -43,7 +43,9 @@ tarball and apply the patch.
|
||||
$> tar xfj <optee-os source>.tar.bz2
|
||||
or
|
||||
$> tar xfJ <optee-os source>.tar.xz
|
||||
A new directory containing optee standard source code will be created, go into it:
|
||||
$> cd <directory to optee-os source code>
|
||||
|
||||
NB: if there is no git management on source code and you would like to have a git management
|
||||
on the code see section 4 [Management of optee-os source code]
|
||||
if there is some patch, please apply it on source code
|
||||
|
||||
Reference in new issue
Block a user