mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-06 15:01:35 +00:00
BUG=none
BRANCH=ToT
TEST=manual
make BOARD=samus
for i in extra/lightbar/programs/[g-z]*.bin; do
./build/samus/util/lbcc -d $i /tmp/x.lbs
./build/samus/util/lbcc /tmp/x.lbs /tmp/x.bin
cmp $i /tmp/x.bin
done
Change-Id: I86c014c425e917ecafadd1c6845fcf2e5b4edbb7
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/220244
27 lines
769 B
Makefile
27 lines
769 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 burn_my_ec stm32mon ec_sb_firmware_update lbcc
|
|
|
|
comm-objs=$(util-lock-objs:%=lock/%) comm-host.o comm-dev.o
|
|
ifeq ($(CHIP),mec1322)
|
|
comm-objs+=comm-mec1322.o
|
|
else ifeq ($(CONFIG_LPC),y)
|
|
comm-objs+=comm-lpc.o
|
|
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
|
|
|
|
build-util-bin=ec_uartd iteflash
|