diff options
author | Craig Hesling <hesling@chromium.org> | 2020-03-03 17:32:35 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-03-04 22:11:23 +0000 |
commit | 5273b04caaf4dde77acab8133df4eede7587dd0c (patch) | |
tree | 05528e3e21d85f3c54c9c07b049f253539af3890 /util | |
parent | 57a8716bf7b9bf2fa9b65e5f3fa29a3d9914d25f (diff) | |
download | chrome-ec-5273b04caaf4dde77acab8133df4eede7587dd0c.tar.gz |
getversion.sh: Add private/.../fpc git hash for fingerprint
Since we have moved the private FPC code/blobs into a sub-repository
under private/, we should also represent the sub-repo in the version
string.
It now shows up as an additional "fpc:vBLAH-HASH".
BRANCH=none
BUG=b:150731735
TEST=make BOARD=dartmonkey && strings build/dartmonkey/ec.bin | grep dart
TEST=make BOARD=nocturne_fp && strings build/nocturne_fp/ec.bin | grep noct
TEST=make BOARD=bloonchipper && strings build/bloonchipper/ec.bin | grep bloon
TEST=make BOARD=hatch_fp && strings build/hatch_fp/ec.bin | grep hatch
TEST=make BOARD=nami_fp && strings build/nami_fp/ec.bin | grep nami
Signed-off-by: Craig Hesling <hesling@chromium.org>
Change-Id: Ibf045a4f853e3a3589d84d8a62a726264223387e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2086732
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/getversion.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/getversion.sh b/util/getversion.sh index 2ac25ef62f..e4585c775f 100755 --- a/util/getversion.sh +++ b/util/getversion.sh @@ -108,6 +108,9 @@ main() { if [[ -d ./private ]]; then dir_list+=( ./private ) fi + if [[ -d ./private/fingerprint/fpc ]]; then + dir_list+=( ./private/fingerprint/fpc ) + fi ;; esac |