diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-12-29 11:15:46 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-12-30 13:52:45 -0800 |
commit | d85c7d3f1b97da6e8b87487a4a87299051bad83b (patch) | |
tree | 05f01096d49d0accf21de6e961c0182e5bae0c71 /util | |
parent | 2c0843e845536b32665c7894a6e544f6fdd4a467 (diff) | |
download | chrome-ec-d85c7d3f1b97da6e8b87487a4a87299051bad83b.tar.gz |
util: npcx: Fix build for ARM host boards
ecst is used at build / link time, so it should be compiled for the
build machine architecture, not the architecture of the host board.
BUG=chromium:567232
TEST=Verify 'cros_sdk ... cros_run_unit_tests --board=oak' passes with
CL:319256.
BRANCH=None
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: Ic7f6aa989d0760eda1fe64221e41d3230c9ab9b9
Reviewed-on: https://chromium-review.googlesource.com/319633
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/build.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/build.mk b/util/build.mk index 3c8480da80..4b382f1156 100644 --- a/util/build.mk +++ b/util/build.mk @@ -7,10 +7,10 @@ # host-util-bin=ectool lbplay stm32mon ec_sb_firmware_update lbcc +build-util-bin=ec_uartd iteflash ifeq ($(CHIP),npcx) -host-util-bin+=ecst +build-util-bin+=ecst endif -build-util-bin=ec_uartd iteflash comm-objs=$(util-lock-objs:%=lock/%) comm-host.o comm-dev.o comm-objs+=comm-lpc.o comm-i2c.o misc_util.o |