From 3fc27ee1765f7e73d946e613a231b43d3b464052 Mon Sep 17 00:00:00 2001 From: Fei Shao Date: Fri, 7 Jan 2022 12:22:41 +0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3372126 Reviewed-by: Vadim Bendebury --- docs/gsc_without_servod.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1