[PATCH 1/1] Makefile: support CROSS_COMPILE=armv7a-*

Gentoo uses armv7a-hardfloat-linux-gnueabi- as cross compiler prefix.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@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)

On Sat, 7 May 2022 23:09:41 +0200 Heinrich Schuchardt heinrich.schuchardt@canonical.com wrote:
Gentoo uses armv7a-hardfloat-linux-gnueabi- as cross compiler prefix.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
Acked-by: Marek Behún marek.behun@nic.cz
participants (2)
-
Heinrich Schuchardt
-
Marek Behún