52 lines
1.7 KiB
BlitzBasic
52 lines
1.7 KiB
BlitzBasic
SUMMARY = "OPTEE TA development kit for stm32mp"
|
|
LICENSE = "BSD-2-Clause & BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=c1f21c4f72f372ef38a5a4aee55ec173"
|
|
|
|
SRC_URI = "git://github.com/OP-TEE/optee_os.git;protocol=https;name=os"
|
|
SRCREV = "af141c61fe7a2430f3b4bb89661d8414117013b3"
|
|
|
|
SRC_URI += " \
|
|
file://0001-3.9.0-stm32mp-r1.patch \
|
|
"
|
|
|
|
OPTEE_VERSION = "3.9.0"
|
|
PV = "${OPTEE_VERSION}.r1"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
COMPATIBLE_MACHINE = "(stm32mpcommon)"
|
|
|
|
OPTEEMACHINE ?= "stm32mp1"
|
|
OPTEEMACHINE_stm32mp1common = "stm32mp1"
|
|
|
|
OPTEEOUTPUTMACHINE ?= "stm32mp1"
|
|
OPTEEOUTPUTMACHINE_stm32mp1common = "stm32mp1"
|
|
|
|
|
|
# The package is empty but must be generated to avoid apt-get installation issue
|
|
ALLOW_EMPTY_${PN} = "1"
|
|
|
|
require optee-os-stm32mp-common.inc
|
|
|
|
# ---------------------------------
|
|
# Configure archiver use
|
|
# ---------------------------------
|
|
include ${@oe.utils.ifelse(d.getVar('ST_ARCHIVER_ENABLE') == '1', 'optee-os-stm32mp-archiver.inc','')}
|
|
|
|
# ---------------------------------
|
|
# Configure devupstream class usage
|
|
# ---------------------------------
|
|
#BBCLASSEXTEND = "devupstream:target"
|
|
|
|
#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
|
|
# ---------------------------------
|
|
#STM32MP_SOURCE_SELECTION ?= "tarball"
|
|
|
|
#DEFAULT_PREFERENCE = "${@bb.utils.contains('STM32MP_SOURCE_SELECTION', 'github', '-1', '1', d)}"
|