diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2018-03-20 15:02:37 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-04-02 16:26:44 -0700 |
commit | 72dd925f10f9e0d0d972a8fad42b619d291ee784 (patch) | |
tree | 6f9720abda2b43958a35d87e499bcd88a749fdf9 /extra | |
parent | 4da2dfcbec94cac411ec73910dcabbc62a44f90d (diff) | |
download | chrome-ec-72dd925f10f9e0d0d972a8fad42b619d291ee784.tar.gz |
gsctool: always use BOARD set to cr50
There is no point in allowing the environment to override board name
when building gsctool, it requires BOARD to be set to cr50 to build
properly.
And usb_updater2 does not really care about the board at all.
BRANCH=none
BUG=none
TEST='make -C extra/usb_updater now succeeds even if BOARD is set in
the environment.
Change-Id: I1ed16b8049f4d5936bb29585bb65718ed865d6b5
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/972365
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Nick Vaccaro <nvaccaro@chromium.org>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/usb_updater/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/usb_updater/Makefile b/extra/usb_updater/Makefile index 2c6baf84f9..93284d6fef 100644 --- a/extra/usb_updater/Makefile +++ b/extra/usb_updater/Makefile @@ -32,10 +32,10 @@ LIBS += $(shell $(PKG_CONFIG) --libs libusb-1.0) CFLAGS += $(shell $(PKG_CONFIG) --cflags libusb-1.0) CFLAGS += -I../../include -I../../util -I../../test -BOARD ?= cr50 +BOARD := cr50 LIBS_g = $(shell $(PKG_CONFIG) --libs libcrypto) CFLAGS_g = $(shell $(PKG_CONFIG) --cflags libcrypto) -CFLAGS_g += -I../../board/$(BOARD) -I ../../chip/g +CFLAGS_g += -I../../board/cr50 -I ../../chip/g LIBS_common = -lfmap |