]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: support CROSS_COMPILE=armv7a-*
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 7 May 2022 20:58:39 +0000 (22:58 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 7 May 2022 21:17:25 +0000 (23:17 +0200)
Gentoo uses armv7a-hardfloat-linux-gnueabi- as cross compiler prefix.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Makefile

index 6eceeb35b460c49f4435ecfeb8019a34ba3fba89..00caaaf32500f75cdf9675e56df3e08c28a25634 100644 (file)
--- 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)