From d85c7d3f1b97da6e8b87487a4a87299051bad83b Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Tue, 29 Dec 2015 11:15:46 -0800 Subject: 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 Change-Id: Ic7f6aa989d0760eda1fe64221e41d3230c9ab9b9 Reviewed-on: https://chromium-review.googlesource.com/319633 Commit-Ready: Shawn N Tested-by: Shawn N Reviewed-by: Vincent Palatin --- util/build.mk | 4 ++-- 1 file 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 -- cgit v1.2.1