From d2cd50c7480c59664bb6fcfdec049a449dbc5a37 Mon Sep 17 00:00:00 2001 From: Nishanth Menon Date: Tue, 22 Feb 2022 04:14:03 +0000 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 Signed-off-by: Denys Dmytriyenko Signed-off-by: Ryan Eatmon --- meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend index 5cb70df9..f1d7fc9a 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend +++ b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend @@ -1,3 +1,5 @@ +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} }