summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFei Shao <fshao@chromium.org>2022-01-07 12:22:41 +0800
committerCommit Bot <commit-bot@chromium.org>2022-01-07 07:18:57 +0000
commit3fc27ee1765f7e73d946e613a231b43d3b464052 (patch)
treebbd48602b5607e1452c84faf7e12a6edbac07580
parentc6f706f2c6bd6df8e46e8036615d75a635d17245 (diff)
downloadchrome-ec-3fc27ee1765f7e73d946e613a231b43d3b464052.tar.gz
cr50: docs: Fix apt-get command typo
Getting following error when building Rescue with `libelf-dev-`: Package libelf was not found in the pkg-config search path. Perhaps you should add the directory containing `libelf.pc' to the PKG_CONFIG_PATH environment variable No package 'libelf' found /usr/bin/ld: cannot find -lelf And using `libelf-dev` instead seems to resolve the issue. BUG=None TEST=sudo apt-get install libelf-dev then build Rescue utility Change-Id: I11a98f43b31312a9b0908650221c327805d37835 Signed-off-by: Fei Shao <fshao@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3372126 Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r--docs/gsc_without_servod.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/gsc_without_servod.md b/docs/gsc_without_servod.md
index c8ac986d8c..b3ce71371e 100644
--- a/docs/gsc_without_servod.md
+++ b/docs/gsc_without_servod.md
@@ -41,7 +41,7 @@ Linux distributions):
```
$ git clone https://chrome-internal.googlesource.com/chromeos/platform/cr50-utils
$ cd cr50-utils/software/tools/SPI
-$ sudo apt-get install libc6 libelf-dev- libgcc-s1 libssl-dev libstdc++6 libudev1 libusb-1.0-0-dev zlib1g
+$ sudo apt-get install libc6 libelf-dev libgcc-s1 libssl-dev libstdc++6 libudev1 libusb-1.0-0-dev zlib1g
$ make rescue
```
This will create the `rescue` utility in the local directory, place it