From becb93b5603a9b59c045c667a829cfc59c33cee0 Mon Sep 17 00:00:00 2001 From: Nishanth Menon Date: Fri, 22 Oct 2021 21:17:38 -0500 Subject: [PATCH] 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 Signed-off-by: Ryan Eatmon --- recipes-security/optee/optee-os_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) 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 = " \ file://0007-allow-setting-sysroot-for-clang.patch \ " +EXTRA_OEMAKE_append_k3 = "${@ 'CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}" + do_compile_prepend_ti-soc() { export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} }