summaryrefslogtreecommitdiff
path: root/extra/usb_updater/Makefile
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2017-09-06 15:51:46 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-10-10 22:13:43 -0700
commita08f61506cc71b690858e51da905c7dcb2d7ef10 (patch)
tree7f504d1fdaa6c6a8630656e95f1ed15e2b774d4d /extra/usb_updater/Makefile
parentf1e6af516c87623f475900f8fc85cb9c40668092 (diff)
downloadchrome-ec-a08f61506cc71b690858e51da905c7dcb2d7ef10.tar.gz
g: rename usb_updater into gsctool
The usb_updater utility has long been not just an updater, and has long been using other interfaces in addition to USB. gsctool is a much more suitable name. CQ-DEPEND=CL:709776 BRANCH=cr50 BUG=b:67007500 TEST=verified that make -C ./extra/usb_updater generates ./extra/usb_updater/gsctool: $ ./extra/usb_updater/gsctool --help Usage: gsctool [options] <binary image> This updates the Cr50 RW firmware over USB. The required argument is the full RO+RW image. Options: [...] $ Change-Id: I3ab70c28acf3664ddefaa923a87ba1fd5c3c437b Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/709738 Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'extra/usb_updater/Makefile')
-rw-r--r--extra/usb_updater/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/usb_updater/Makefile b/extra/usb_updater/Makefile
index f7b74a6f94..49b8a1af2c 100644
--- a/extra/usb_updater/Makefile
+++ b/extra/usb_updater/Makefile
@@ -4,7 +4,7 @@
CC ?= gcc
PKG_CONFIG ?= pkg-config
-PROGRAMS := usb_updater usb_updater2
+PROGRAMS := gsctool usb_updater2
LIBS :=
LFLAGS :=
CFLAGS := -std=gnu99 \
@@ -42,7 +42,7 @@ LIBS_common = -lfmap
all: $(PROGRAMS)
# chip/g updater
-usb_updater: usb_updater.c Makefile
+gsctool: gsctool.c Makefile
$(CC) $(CFLAGS) $(CFLAGS_g) $< $(LFLAGS) $(LIBS) $(LIBS_g) -o $@
# common EC code USB updater