1FILESEXTRAPATHS:prepend := "${THISDIR}/files/optee-os/corstone1000:"
2SRC_URI:append = " \
3                  file://0001-Handle-logging-syscall.patch \
4                  file://0002-increase-tzdram-size.patch \
5		  "
6
7COMPATIBLE_MACHINE = "corstone1000"
8
9OPTEEMACHINE = "corstone1000"
10# Enable optee memory layout and boot logs
11EXTRA_OEMAKE += " CFG_TEE_CORE_LOG_LEVEL=4"
12
13# default disable latency benchmarks (over all OP-TEE layers)
14EXTRA_OEMAKE += " CFG_TEE_BENCHMARK=n"
15
16EXTRA_OEMAKE += " CFG_CORE_SEL1_SPMC=y CFG_CORE_FFA=y"
17
18EXTRA_OEMAKE += " CFG_WITH_SP=y"
19
20EXTRA_OEMAKE:append:corstone1000-fvp = "${@bb.utils.contains('MACHINE_FEATURES', 'corstone1000_fvp_smp', ' CFG_TEE_CORE_NB_CORE=4', '', d)}"
21