mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-05 22:41:44 +00:00
MIPS host CPU does not access IO registers using a separate address space. Remove for support of LPC for this host architecture. Confine x86 function to Intel Architecture only. BRANCH=none TEST=Compile: Test on ARM, MIPS and X86: using emerge... ec-utils. BUG=chromium:443783 Change-Id: I9d4276ec3588037adfcff96e596bbe8be74f22fd Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/236687 Reviewed-by: Vic Yang <victoryang@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
25 lines
709 B
Makefile
25 lines
709 B
Makefile
# -*- makefile -*-
|
|
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
#
|
|
# Host tools build
|
|
#
|
|
|
|
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)
|
|
ifeq ($(CHIP),mec1322)
|
|
comm-objs+=comm-mec1322.o
|
|
else
|
|
comm-objs+=comm-lpc.o
|
|
endif
|
|
endif
|
|
comm-objs+=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
|
|
lbplay-objs=lbplay.o $(comm-objs)
|