summaryrefslogtreecommitdiffstats
path: root/recipes-security/optee-qoriq/optee-os-qoriq-tadevkit_4.8.0.bb
blob: 5ae1fd555c0bed1283ac062e393c520b663a1453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
require optee-os.nxp.inc

SUMMARY = "OP-TEE Trusted OS TA devkit"
DESCRIPTION = "OP-TEE TA devkit for build TAs"
HOMEPAGE = "https://www.op-tee.org/"

DEPENDS += "python3-pycryptodome-native"

OPTEE_OS_BRANCH = "lf-6.12.49_2.2.0"
SRCREV = "b3883a773a9d15ec6439f9229e48f540c37e0d00"

do_install() {
    #install TA devkit
    install -d ${D}${includedir}/optee/export-user_ta/
    for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do
        cp -aR $f ${D}${includedir}/optee/export-user_ta/
    done
}

do_deploy() {
    echo "Do not inherit do_deploy from optee-os."
}

# The TA devkit ships only its headers under ${includedir}/optee, packed explicitly.
# nooelint: oelint.var.filesoverride
FILES:${PN} = "${includedir}/optee/"