[PATCH 1/1] Makefile: support CROSS_COMPILE=armv7a-*
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sat May 7 23:09:41 CEST 2022
Gentoo uses armv7a-hardfloat-linux-gnueabi- as cross compiler prefix.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index ea80f00716..d9081815fd 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ else ifneq (,$(findstring $(MK_ARCH), "i386" "i486" "i586" "i686"))
export HOST_ARCH=$(HOST_ARCH_X86)
else ifneq (,$(findstring $(MK_ARCH), "aarch64" "armv8l"))
export HOST_ARCH=$(HOST_ARCH_AARCH64)
-else ifneq (,$(findstring $(MK_ARCH), "arm" "armv7" "armv7l"))
+else ifneq (,$(findstring $(MK_ARCH), "arm" "armv7" "armv7a" "armv7l"))
export HOST_ARCH=$(HOST_ARCH_ARM)
else ifeq ("riscv32", $(MK_ARCH))
export HOST_ARCH=$(HOST_ARCH_RISCV32)
--
2.34.1
More information about the U-Boot
mailing list