[master][PATCH] optee-os, trusted-firmware-a: add leading whitespace when using append override


Denys Dmytriyenko
 

From: Denys Dmytriyenko <denys@...>

As append override does not add any whitespaces, it could lead to potenti=
al
issues when two items in space-separated list get concatenated. It is alw=
ays
recommended to add a leading whitespace in such cases, like EXTRA_OEMAKE.

Signed-off-by: Denys Dmytriyenko <denys@...>
---
.../trusted-firmware-a/trusted-firmware-a_%.bbappend | 2 +-
meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-=
a_%.bbappend b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmwar=
e-a_%.bbappend
index 35cb9c95..5a2b4510 100644
--- a/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bba=
ppend
+++ b/meta-ti-bsp/recipes-bsp/trusted-firmware-a/trusted-firmware-a_%.bba=
ppend
@@ -8,7 +8,7 @@ TFA_BUILD_TARGET:k3 =3D "all"
TFA_INSTALL_TARGET:k3 =3D "bl31"
TFA_SPD:k3 =3D "opteed"
=20
-EXTRA_OEMAKE:append:k3 =3D "${@ 'K3_USART=3D' + d.getVar('TFA_K3_USART')=
if d.getVar('TFA_K3_USART') else ''}"
+EXTRA_OEMAKE:append:k3 =3D "${@ ' K3_USART=3D' + d.getVar('TFA_K3_USART'=
) if d.getVar('TFA_K3_USART') else ''}"
=20
do_compile:append:am65xx-hs-evm() {
export TI_SECURE_DEV_PKG=3D${TI_SECURE_DEV_PKG}
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend b/met=
a-ti-bsp/recipes-security/optee/optee-os_%.bbappend
index 5af57e16..6097580f 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend
+++ b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend
@@ -1,4 +1,4 @@
-EXTRA_OEMAKE:append:k3 =3D "${@ 'CFG_CONSOLE_UART=3D'+ d.getVar('OPTEE_K=
3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
+EXTRA_OEMAKE:append:k3 =3D "${@ ' CFG_CONSOLE_UART=3D'+ d.getVar('OPTEE_=
K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
=20
do_compile:prepend:ti-soc() {
export TI_SECURE_DEV_PKG=3D${TI_SECURE_DEV_PKG}
--=20
2.25.1