Files
OpenCellular/util/build.mk
Bill Richardson d0d1564434 ectool prefers /dev/cros_ec, then falls back to i2c, lpc
This is preparation for the common userspace EC interface. If/when that
appears, this will be ready.

BUG=chromium:239197
BRANCH=all
TEST=manual

Build, install, run it. Shouldn't be any change.

Change-Id: I9fa78515ec5443ba659f10a66bbaadcb7f4802b0
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/56131
2013-06-05 14:12:23 -07:00

17 lines
423 B
Makefile

# -*- makefile -*-
# Copyright (c) 2011 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 burn_my_ec
host-util-common=ectool_keyscan comm-host comm-dev
ifeq ($(CONFIG_LPC),y)
host-util-common+=comm-lpc
else
host-util-common+=comm-i2c
endif
build-util-bin=ec_uartd stm32mon