From 94460e3142b0af906e7bc56d6c96189d829a5c2c Mon Sep 17 00:00:00 2001
From: Shyam Prasath <shyam.prasath@timesys.com>
Date: Fri, 18 Feb 2022 13:00:13 +0530
Subject: [PATCH] km: support Timesys hardfp toolchain with armv7l- prefix

---
 eurasia_km/eurasiacon/build/linux2/config/compiler.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
index dead2f9..55919f3 100644
--- a/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
+++ b/eurasia_km/eurasiacon/build/linux2/config/compiler.mk
@@ -71,7 +71,7 @@ define calculate-compiler-preferred-target
   ifneq ($$(filter arm-%-gnueabi armv7a-cros-linux-gnueabi armv7hl-redhat-linux-gnueabi,$$($(1)_compiler_preferred_target)),)
    $(1)_compiler_preferred_target := arm-linux-gnueabi
   endif
-  ifneq ($$(filter arm-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
+  ifneq ($$(filter arm-%-gnueabihf armv7l-%-gnueabihf,$$($(1)_compiler_preferred_target)),)
    $(1)_compiler_preferred_target := arm-linux-gnueabihf
   endif
  endif
-- 
2.25.1

