Skip to contentSkip to conversation

optee-os: unbreak parsing when arch is not armv7a nor aarch64

PATCH In review Denys Dmytriyenko 2 participants 2 messages Apr 12, 2020 – Apr 13, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 optee-os: unbreak parsing when arch is not armv7a nor aarch64

From: Denys Dmytriyenko <[email protected]>

When meta-arm is in the layer stack, parsing will break for unsupported archs, like armv5, armv6, etc. Unbreak parsing by defining null default OPTEE_ARCH.

---
 meta-arm/recipes-security/optee/optee-os_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arm/recipes-security/optee/optee-os_git.bb +1 -0
index 47ced12..3217498 100644
@@ -22,6 +22,7 @@ S = "${WORKDIR}/git"
 OPTEEMACHINE ?= "${MACHINE}"
 OPTEEOUTPUTMACHINE ?= "${MACHINE}"
 
+OPTEE_ARCH = "null"
 OPTEE_ARCH_armv7a = "arm32"
 OPTEE_ARCH_aarch64 = "arm64"
 OPTEE_CORE = "${@d.getVar('OPTEE_ARCH').upper()}"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

When meta-arm is in the layer stack, parsing will break for unsupported archs, like armv5, armv6, etc. Unbreak parsing by defining null default OPTEE_ARCH.

You beat me to it. Pulled into the master branch.

Thanks,
Jon

Quoted 23 lines
---
 meta-arm/recipes-security/optee/optee-os_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-arm/recipes-security/optee/optee-os_git.bb +1 -0
index 47ced12..3217498 100644
@@ -22,6 +22,7 @@ S = "${WORKDIR}/git"
 OPTEEMACHINE ?= "${MACHINE}"
 OPTEEOUTPUTMACHINE ?= "${MACHINE}"
 
+OPTEE_ARCH = "null"
 OPTEE_ARCH_armv7a = "arm32"
 OPTEE_ARCH_aarch64 = "arm64"
 OPTEE_CORE = "${@d.getVar('OPTEE_ARCH').upper()}"
Signature · 1 line
2.7.4