summaryrefslogtreecommitdiff
path: root/util/build.mk
diff options
context:
space:
mode:
authorSheng-Liang Song <ssl@chromium.org>2014-07-26 19:56:43 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-09-05 07:20:49 +0000
commitb550e7cbb406da519348e483291e31bfddbf5ba7 (patch)
treefad2819bdf177cc359fecae2461d21dd13c36d14 /util/build.mk
parent1cf5ca93b63dc7d43dcc799bce4436ecaf1d4876 (diff)
downloadchrome-ec-b550e7cbb406da519348e483291e31bfddbf5ba7.tar.gz
EC: Add util for battery firmware update
Ref: Common Smart Battery System Inferface Specification v8.0. Implemented smart battery firmware update util based the above spec. BUG=chrome-os-partner:24741 CQ-DEPEND=CL:210032 CQ-DEPEND=CL:210033 CQ-DEPEND=CL:215720 BRANCH=ToT TEST=Verified LGC & Simplo Battery Update on glimmer Change-Id: Ia61a49f4643ea349d42a4b87d6010c1ac011729b Signed-off-by: Sheng-Liang Song <ssl@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/205324 Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'util/build.mk')
-rw-r--r--util/build.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/util/build.mk b/util/build.mk
index 56cd6a2a59..51e5104304 100644
--- a/util/build.mk
+++ b/util/build.mk
@@ -1,12 +1,12 @@
# -*- makefile -*-
-# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
+# 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 burn_my_ec stm32mon
+host-util-bin=ectool lbplay burn_my_ec stm32mon ec_sb_firmware_update
comm-objs=$(util-lock-objs:%=lock/%) comm-host.o comm-dev.o
ifeq ($(CHIP),mec1322)
@@ -17,6 +17,9 @@ else
comm-objs+=comm-i2c.o
endif
ectool-objs=ectool.o ectool_keyscan.o misc_util.o ec_flash.o $(comm-objs) ../common/sha1.o
+
+ec_sb_firmware_update-objs=ec_sb_firmware_update.o $(comm-objs) misc_util.o
+
lbplay-objs=lbplay.o $(comm-objs)
burn_my_ec-objs=ec_flash.o $(comm-objs) misc_util.o