diff options
author | Tom Hughes <tomhughes@chromium.org> | 2019-04-12 09:28:47 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-18 14:40:40 -0700 |
commit | 31d37950789a9bf1f4fae978b1c40fa52b3c5a3d (patch) | |
tree | ac5af2e32d76ccb28ef003e4bf0fbae1e3df03fd | |
parent | f194cdcce858682bc4328e01475db8d6e37e0de0 (diff) | |
download | chrome-ec-31d37950789a9bf1f4fae978b1c40fa52b3c5a3d.tar.gz |
*_fp: Add private version info
This shows up when you run the "version" command in the UART console.
BRANCH=none
BUG=b:130417373
TEST=BOARD=hatch_fp ./util/getversion.sh
=> shows private version in VERSION
BOARD=nocturne_fp ./util/getversion.sh
=> shows private version in VERSION
BOARD=nocturne ./util/getversion.sh
=> does not show private version in VERSION
Change-Id: Ibdf94795bbc8bc823d29ec006b01fc89e8f37114
Signed-off-by: Tom Hughes <tomhughes@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1566040
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
-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 552f2d9bf0..765571492e 100755 --- a/util/getversion.sh +++ b/util/getversion.sh @@ -98,6 +98,9 @@ main() { (cr50) dir_list+=( ../../third_party/tpm2 ../../third_party/cryptoc ) ;; + (*_fp) + dir_list+=( ./private ) + ;; esac # Create a combined version string for all component directories. |