summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-07-10 20:38:21 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-07-30 21:06:43 +0200
commitd11ff6b9dfae82266fd9862421e395f6d9c436dc (patch)
treef0e767942156f2aa8fbc5432c6ffefe7cea9b77f
parentad488d25b03c9abebe8187843f8d1301d242f106 (diff)
build system: remove duplicate architecture list
Let xcompile pass the list of architectures, given that it already has it. Change-Id: I565512d3bef987c9a4e48a39bfd88bacf0b65de9 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/6254 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com>
-rw-r--r--toolchain.inc2
-rwxr-xr-xutil/xcompile/xcompile1
2 files changed, 1 insertions, 2 deletions
diff --git a/toolchain.inc b/toolchain.inc
index b5b4fe0f41..842473b648 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -17,8 +17,6 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-ARCH_SUPPORTED := armv7 x86_32
-
# ccache integration
ifeq ($(CONFIG_CCACHE),y)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 823924341a..01d75bf337 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -145,6 +145,7 @@ detect_special_flags() {
report_arch_toolchain() {
cat <<EOF
# elf${TWIDTH}-${TBFDARCH} toolchain (${GCCPREFIX}gcc)
+ARCH_SUPPORTED+=${TARCH}
CC_${TARCH}:=${GCCPREFIX}gcc
CFLAGS_${TARCH}:=${CFLAGS}
CPP_${TARCH}:=${GCCPREFIX}cpp