summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2021-10-22 21:17:38 -0500
committerRyan Eatmon <reatmon@ti.com>2022-02-01 08:33:45 -0600
commitbecb93b5603a9b59c045c667a829cfc59c33cee0 (patch)
treee001d0b1d52decd1b3b8776df34750ac0be03f9c
parent92b3664eba2cac62daaf08269cb5d8663bd59e3f (diff)
downloadmeta-ti-becb93b5603a9b59c045c667a829cfc59c33cee0.tar.gz
optee-os: Add support for alternate console
Actual systems may choose to use a different console from the default Allow the machine configurations to describe the same. Since the option provided is custom to TI K3, make this a k3 product override capability. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r--recipes-security/optee/optee-os_%.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-security/optee/optee-os_%.bbappend b/recipes-security/optee/optee-os_%.bbappend
index 9bd0b933..4e01ea74 100644
--- a/recipes-security/optee/optee-os_%.bbappend
+++ b/recipes-security/optee/optee-os_%.bbappend
@@ -10,6 +10,8 @@ SRC_URI_ti-soc = " \
10 file://0007-allow-setting-sysroot-for-clang.patch \ 10 file://0007-allow-setting-sysroot-for-clang.patch \
11" 11"
12 12
13EXTRA_OEMAKE_append_k3 = "${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
14
13do_compile_prepend_ti-soc() { 15do_compile_prepend_ti-soc() {
14 export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} 16 export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
15} 17}