Author: Jaret Cantu <jaret.cantu@timesys.com>
Date:   Wed Nov 22 14:15:29 EST 2023

    Loosely match 32-bit ARM triplet

    Match the "armv*" triplet strings instead of only just "arm".

--- optee_test-3.16.0/host/xtest/Makefile.orig	2022-01-17 05:21:46.000000000 -0500
+++ optee_test-3.16.0/host/xtest/Makefile	2023-11-22 14:15:08.077650286 -0500
@@ -30,7 +30,7 @@ define cc-arch
 $(shell $(1) -v 2>&1 | grep Target | sed 's/Target: \([^-]*\).*/\1/')
 endef
 define cc-bits
-$(if $(filter arm, $(1)),32,$(if $(filter aarch64, $(1)),64,unknown-arch))
+$(if $(filter arm%, $(1)),32,$(if $(filter aarch64, $(1)),64,unknown-arch))
 endef
 
 # OpenSSL is used by:
