From 21fc58b66080c6d4eea6b17b0c9f21d8b82ca450 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Mon, 6 Jul 2015 09:07:11 +0000 Subject: [PATCH] libpayload: architecture mapping is now done in xcompile This helps the build system find i386 and mips compilers. Change-Id: I17d18019b556190f860d288e66f368f8d29ca24d Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10803 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- payloads/libpayload/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile index 92efd7362a..2b9bbcbe17 100644 --- a/payloads/libpayload/Makefile +++ b/payloads/libpayload/Makefile @@ -110,12 +110,12 @@ ARCHDIR-$(CONFIG_LP_ARCH_X86) := x86 ARCH-y := $(ARCHDIR-y) -# If architecture folder name is different from GCC binutils architecture name, +# If architecture folder name is different from xcompile architecture name, # override here. ARCH-$(CONFIG_LP_ARCH_ARM) := arm ARCH-$(CONFIG_LP_ARCH_ARM64) := arm64 -ARCH-$(CONFIG_LP_ARCH_X86) := i386 -ARCH-$(CONFIG_LP_ARCH_MIPS) := mipsel +ARCH-$(CONFIG_LP_ARCH_X86) := x86_32 +ARCH-$(CONFIG_LP_ARCH_MIPS) := mips CC := $(CC_$(ARCH-y)) AS := $(AS_$(ARCH-y))