From b1f540ffe2498a2041bf8af9e5c72086e9195ddc Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Sun, 12 Apr 2020 14:31:02 -0400 Subject: [PATCH] optee-os: unbreak parsing when arch is not armv7a nor aarch64 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. Signed-off-by: Denys Dmytriyenko Signed-off-by: Jon Mason --- meta-arm/recipes-security/optee/optee-os_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arm/recipes-security/optee/optee-os_git.bb b/meta-arm/recipes-security/optee/optee-os_git.bb index 5c420b70..dfff6d10 100644 --- a/meta-arm/recipes-security/optee/optee-os_git.bb +++ b/meta-arm/recipes-security/optee/optee-os_git.bb @@ -23,6 +23,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()}"