New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 632937 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Compat



Sign in to add a comment

ec/util/getversion.sh needs cleaning

Project Member Reported by vbendeb@chromium.org, Jul 30 2016

Issue description

 VERSION and CROS_EC_VERSION are set to exactly the same string, and VERSION does not seem to be used anywhere but in Makefile.rules, for not entirely clear reason.

It sure should be enough to have a single variable.
 
Components: OS>Firmware>EC

Comment 2 by gkihumba@google.com, Mar 31 2017

Status: Assigned (was: Untriaged)
Is this fixed?

Comment 3 by vbendeb@google.com, Apr 21 2017

no, this has not yet been fixed.

Comment 4 by laforge@google.com, Oct 17 2017

Labels: -os-firmware-ec
Project Member

Comment 5 by bugdroid1@chromium.org, May 23 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/2531d5787184d78187ccb8dc857aea0e766892d8

commit 2531d5787184d78187ccb8dc857aea0e766892d8
Author: Vadim Bendebury <vbendeb@chromium.org>
Date: Wed May 23 04:57:12 2018

util: do not generate redundant CROS_EC_VERSION

The values of CROS_EC_VERSION and VERSION variables generated by
getversion.sh are exactly the same. VERSION is used in more places
than CROS_EC_VERSION, let's keep VERSION and use it everywhere.

BRANCH=none
BUG= chromium:632937 
TEST=make buildall

Change-Id: Ibec9ecdd4b67789a468dddfbc1c82565f90d48a8
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1069330
Reviewed-by: Randall Spangler <rspangler@chromium.org>

[modify] https://crrev.com/2531d5787184d78187ccb8dc857aea0e766892d8/common/version.c
[modify] https://crrev.com/2531d5787184d78187ccb8dc857aea0e766892d8/util/getversion.sh

Status: Fixed (was: Assigned)
Project Member

Comment 7 by bugdroid1@chromium.org, Jul 6

Labels: merge-merged-firmware-cr50-9308.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/e9a415c5d9fc09bc265b9bbd74961dd1fc2d3a2a

commit e9a415c5d9fc09bc265b9bbd74961dd1fc2d3a2a
Author: Vadim Bendebury <vbendeb@chromium.org>
Date: Fri Jul 06 18:34:23 2018

util: do not generate redundant CROS_EC_VERSION

The values of CROS_EC_VERSION and VERSION variables generated by
getversion.sh are exactly the same. VERSION is used in more places
than CROS_EC_VERSION, let's keep VERSION and use it everywhere.

BRANCH=none
BUG= chromium:632937 
TEST=make buildall

Change-Id: Ibec9ecdd4b67789a468dddfbc1c82565f90d48a8
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1069330
Reviewed-by: Randall Spangler <rspangler@chromium.org>
(cherry picked from commit 2531d5787184d78187ccb8dc857aea0e766892d8)
Reviewed-on: https://chromium-review.googlesource.com/1111622
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Commit-Queue: Mary Ruthven <mruthven@chromium.org>
Tested-by: Mary Ruthven <mruthven@chromium.org>

[modify] https://crrev.com/e9a415c5d9fc09bc265b9bbd74961dd1fc2d3a2a/common/version.c
[modify] https://crrev.com/e9a415c5d9fc09bc265b9bbd74961dd1fc2d3a2a/util/getversion.sh

Project Member

Comment 8 by bugdroid1@chromium.org, Aug 3

Labels: merge-merged-firmware-cr50-mp-release-9308.87.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/716de0fb18934b58ca9b79e5839597f5a9d5cad4

commit 716de0fb18934b58ca9b79e5839597f5a9d5cad4
Author: Vadim Bendebury <vbendeb@chromium.org>
Date: Fri Aug 03 19:50:35 2018

util: do not generate redundant CROS_EC_VERSION

The values of CROS_EC_VERSION and VERSION variables generated by
getversion.sh are exactly the same. VERSION is used in more places
than CROS_EC_VERSION, let's keep VERSION and use it everywhere.

BRANCH=none
BUG= chromium:632937 
TEST=make buildall

Change-Id: Ibec9ecdd4b67789a468dddfbc1c82565f90d48a8
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1069330
Reviewed-by: Randall Spangler <rspangler@chromium.org>
(cherry picked from commit 2531d5787184d78187ccb8dc857aea0e766892d8)
Reviewed-on: https://chromium-review.googlesource.com/1111622
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Commit-Queue: Mary Ruthven <mruthven@chromium.org>
Tested-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1162592

[modify] https://crrev.com/716de0fb18934b58ca9b79e5839597f5a9d5cad4/common/version.c
[modify] https://crrev.com/716de0fb18934b58ca9b79e5839597f5a9d5cad4/util/getversion.sh

Sign in to add a comment