diff options
author | Bill Richardson <wfrichar@chromium.org> | 2016-04-13 17:26:36 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-15 15:09:08 -0700 |
commit | b28ed970c4fab168dcc9fe2fb00d5c76de4de3fe (patch) | |
tree | d740d063fcfa39835ef603bdacebcd4da31401fd /extra/usb_updater/Makefile | |
parent | de45353bbdf0c6c4afb88420d3cb2e182eae7450 (diff) | |
download | chrome-ec-b28ed970c4fab168dcc9fe2fb00d5c76de4de3fe.tar.gz |
Cr50: Update the USB VID:PID:subclass constants
The device-specific subclass used for Non-HC firmware updates is
in the spreadsheet now, so we can rename the macros to be
"official".
BUG=chrome-os-partner:49962
BRANCH=none
TEST=make buildall; test on cr50
make BOARD=cr50 (plus whatever signing magic works for you)
make -C extra/usb_updater
./extra/usb_updater/usb_updater build/cr50/ec.bin (sudo if needed)
Note that you may need to rebuild ec.bin in order to see any
difference after the update. If the A & B images are identical,
the RO bootloader always picks A.
Change-Id: I385ce89a9abe2059d52da2d82a0b92b9b3e3c93f
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/339220
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'extra/usb_updater/Makefile')
-rw-r--r-- | extra/usb_updater/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/usb_updater/Makefile b/extra/usb_updater/Makefile index 8a55f750f6..b4c208f4af 100644 --- a/extra/usb_updater/Makefile +++ b/extra/usb_updater/Makefile @@ -25,7 +25,9 @@ CFLAGS := -std=gnu99 \ LIBS += $(shell pkg-config --libs libusb-1.0) -lcrypto CFLAGS += $(shell pkg-config --cflags libusb-1.0) -CFLAGS += -I../../board/cr50 -I ../../chip/g -I../../util +# NOTE: This may be board-specific +BOARD ?= cr50 +CFLAGS += -I../../include -I../../board/$(BOARD) -I ../../chip/g -I../../util $(PROGRAM): $(SOURCE) Makefile gcc $(CFLAGS) $(SOURCE) $(LFLAGS) $(LIBS) -o $@ |