summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Grandi <agrandi@google.com>2022-07-22 14:16:04 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-22 22:35:36 +0000
commit4bc7c937169496cc816698cc7e14b70038723695 (patch)
treec6e9786b2ff5586f24c8e29a578de2cfe2bc1f45
parent075d41b65fde64b8ad6bc25ae6c707f3e1c22d1f (diff)
downloadchrome-ec-4bc7c937169496cc816698cc7e14b70038723695.tar.gz
docs/ide-support.md: Use env variable for external chroot path
Python script that runs inside the chroot is executed passing the absolute path of ChromeOS repository outside the chroot. Update the example to use the env variable $EXTERNAL_TRUNK_PATH. BRANCH=none BUG=none TEST=viewed in gitiles Signed-off-by: Andrea Grandi <agrandi@google.com> Change-Id: I16501d4890e9d1bbadfa9d7f19e11b9aa909f7e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3783264 Commit-Queue: Craig Hesling <hesling@chromium.org> Reviewed-by: Craig Hesling <hesling@chromium.org>
-rw-r--r--docs/ide-support.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ide-support.md b/docs/ide-support.md
index 6c280bcb87..fd8422eee7 100644
--- a/docs/ide-support.md
+++ b/docs/ide-support.md
@@ -97,7 +97,7 @@ manually enabled following these steps.
```bash
(chroot) $ cd ~/chromiumos/chromite/ide_tooling/scripts
- python compdb_no_chroot.py /home/${USER}/chromiumos \
+ python compdb_no_chroot.py ${EXTERNAL_TRUNK_PATH} \
< ~/chromiumos/src/platform/ec/compile_commands_inside_chroot.json \
> ~/chromiumos/src/platform/ec/compile_commands.json
```