diff options
author | Vic Yang <victoryang@chromium.org> | 2014-07-30 10:15:04 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-07-30 23:42:32 +0000 |
commit | 68dd21c56077171426928e9e12ee6c1c656846af (patch) | |
tree | f61c684cab30ee109c3eba346586ba140cb5a4f0 /util | |
parent | 947f7ff93679a9ecff2acde78f2bdd292299b04c (diff) | |
download | chrome-ec-68dd21c56077171426928e9e12ee6c1c656846af.tar.gz |
Fix flash_ec so that it finds stm32mon
If chromeos-ec package hasn't been built, flash_ec tries to find
stm32mon in local build/ directory. However, this is broken in the last
CL when we move away from crosutils. Let's fix it.
BUG=chromium:397202
TEST=Flash samus_pd
BRANCH=None
Change-Id: I05395a727fa965032a24f51c07deaebf2d7c7e51
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/210419
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/flash_ec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec index 4854846be1..5658b8039d 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -228,7 +228,7 @@ function free_pty() { # Board specific flashing scripts function flash_stm32() { - TOOL_PATH="${SCRIPT_LOCATION}/../build/${BOARD}/util:$PATH" + TOOL_PATH="${SCRIPT_DIR}/../build/${BOARD}/util:$PATH" STM32MON=$(PATH="${TOOL_PATH}" which stm32mon) if [ ! -x "$STM32MON" ]; then die "no stm32mon util found." |