summaryrefslogtreecommitdiffstats
path: root/recipes-security/optee-qoriq/optee-os.nxp.inc
blob: 1a837d54a2ddc89429869e3cb8707f314ee73b1e (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
27
28
29
# Copyright 2020-2021,2025-2026 NXP
require recipes-security/optee-imx/optee-os-fslc.inc

DEPENDS:append = " dtc-native"

# The patch same as imx-optee, so point FILESEXTRAPATHS to optee-imx/optee-client,
# avoid duplicate copy files to optee-qoriq
FILESEXTRAPATHS:prepend := "${THISDIR}/../optee-imx/optee-os:"

SRC_URI:remove = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https"
SRC_URI:prepend = "${OPTEE_OS_SRC};branch=${OPTEE_OS_BRANCH} "

OPTEE_OS_SRC ?= "git://github.com/nxp-qoriq/optee_os.git;protocol=https"

REQUIRED_MACHINE_FEATURES = "optee"

inherit features_check

OPTEEMACHINE = "ls-${MACHINE}"
OPTEEMACHINE:ls1088ardb-pb   = "ls-ls1088ardb"
OPTEEMACHINE:ls1046afrwy     = "ls-ls1046ardb"
OPTEEMACHINE:lx2162aqds      = "ls-lx2160aqds"
OPTEEMACHINE:lx2160ardb-rev2 = "ls-lx2160ardb"

EXTRA_OEMAKE:append = " \
    CFG_TEE_TA_LOG_LEVEL=0 \
    CFG_TEE_CORE_LOG_LEVEL=1 \
"
COMPATIBLE_MACHINE = "(qoriq-arm64)"