summaryrefslogtreecommitdiffstats
path: root/payloads
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-07-06 09:07:11 +0000
committerPatrick Georgi <pgeorgi@google.com>2015-07-06 18:27:01 +0200
commit21fc58b66080c6d4eea6b17b0c9f21d8b82ca450 (patch)
tree776401625e86b68e4f2d86bb56b013da0dae54e8 /payloads
parent46eeb339e978ab8059d8ecf2e74c094f6c928883 (diff)
downloadcoreboot-staging-21fc58b66080c6d4eea6b17b0c9f21d8b82ca450.zip
coreboot-staging-21fc58b66080c6d4eea6b17b0c9f21d8b82ca450.tar.gz
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>
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index 92efd73..2b9bbcb 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))
OpenPOWER on IntegriCloud