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 <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10803 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
46eeb339e9
commit
21fc58b660
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue