summaryrefslogtreecommitdiff
path: root/Makefile.toolchain
diff options
context:
space:
mode:
authorli feng <li1.feng@intel.com>2017-07-31 17:27:20 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-08-01 16:22:05 -0700
commitdb6391a64fe8385b92f76e83c45ed92fd38210b8 (patch)
tree6bee57189909c197d3da2a6fe37018d4336fe022 /Makefile.toolchain
parentbdf1838cb88e9f0e7ff816c4779d1b338d569361 (diff)
downloadchrome-ec-db6391a64fe8385b92f76e83c45ed92fd38210b8.tar.gz
toolchain: set correct toolchain when buildall
In the "make buildall", since no BOARD is defined, core/minute-ia has to use whatever toolchain value set by previous board build. "arm-none-eabi-" is used instead of "i686-pc-linux-gnu-" and causes build failed. BUG=none BRANCH=None TEST=Including Soraka ISH board, make buildall passed. Change-Id: I2682e4b73f608756842870e584f559166354b00b Signed-off-by: li feng <li1.feng@intel.com> Reviewed-on: https://chromium-review.googlesource.com/595221 Commit-Ready: Stefan Reinauer <reinauer@chromium.org> Tested-by: Li1 Feng <li1.feng@intel.com> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-by: Li1 Feng <li1.feng@intel.com> Reviewed-by: Kyoung Il Kim <kyoung.il.kim@intel.com>
Diffstat (limited to 'Makefile.toolchain')
-rw-r--r--Makefile.toolchain2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.toolchain b/Makefile.toolchain
index 5a63ca066f..45ca6369ed 100644
--- a/Makefile.toolchain
+++ b/Makefile.toolchain
@@ -93,4 +93,4 @@ HOST_TEST_LDFLAGS=-T core/host/host_exe.lds -lrt -pthread -rdynamic -lm\
# $1: name of variable to set
# $2: first default to use
# $3: second default to use
-set-option = $(eval $1?=$$(if $(2),$(2),$(3)))
+set-option = $(eval $1=$$(if $(2),$(2),$(3)))