From f55a7e5774447dd1dcdb03ce4cc2d62f613b0eda Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 16 Apr 2015 01:31:20 -0400 Subject: clean up x86 i/o checks Rather than hardcode a specific mips toolchain, do a build-time test to see if the target is x86 based. BUG=chromium:443783 TEST=link still includes comm-lpc TEST=arm64 omits comm-lpc BRANCH=none Change-Id: I0253df6cbe89bee231ec643dd6bb3498eb040708 Reviewed-on: https://chromium-review.googlesource.com/265793 Reviewed-by: Gwendal Grignou Commit-Queue: Mike Frysinger Tested-by: Mike Frysinger --- util/build.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'util/build.mk') diff --git a/util/build.mk b/util/build.mk index 20377a46b6..f9b0f87932 100644 --- a/util/build.mk +++ b/util/build.mk @@ -10,10 +10,7 @@ host-util-bin=ectool lbplay stm32mon ec_sb_firmware_update lbcc build-util-bin=ec_uartd iteflash comm-objs=$(util-lock-objs:%=lock/%) comm-host.o comm-dev.o -ifneq ($(HOSTCC),mipsel-cros-linux-gnu-gcc) -comm-objs+=comm-lpc.o -endif -comm-objs+=comm-i2c.o +comm-objs+=comm-lpc.o comm-i2c.o ectool-objs=ectool.o ectool_keyscan.o misc_util.o ec_flash.o $(comm-objs) ec_sb_firmware_update-objs=ec_sb_firmware_update.o $(comm-objs) misc_util.o -- cgit v1.2.1