diff options
| author | Stephen Boyd <sboyd@codeaurora.org> | 2012-03-17 23:57:17 -0700 |
|---|---|---|
| committer | Stephen Boyd <sboyd@codeaurora.org> | 2013-02-20 02:49:33 -0800 |
| commit | 0e7e93da374d6ee8e06463ba0c5e10a51b3d5bee (patch) | |
| tree | 5be28fb0fe6cff4446f2aec6348bcccf3a9649e9 /scripts/gcc-wrapper.py | |
| parent | aade7123942ee272d5682637f1fbc908ebe81550 (diff) | |
setlocalversion: Fix version when built/synced on a tag
If building on a tag we check to make sure the version in the
Makefile matches the tag we're building at. That would be a
string comparison and not an integer comparison. Change the test
accordingly. Right now we'll just see 3.0.8 or 3.0.8-dirty if the
kernel is built on a tag.
Similarly if we're synced to a tag we may have two references to
the same object, 1 in the local repo and one in the remote. Force
the show-ref to only look at tags so we only ever describe on
ref instead of two.
Change-Id: I694947b434db8f95d4c0b9f6e68702c65a1ee281
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
(cherry picked from commit cf76837260758073496ce6325bcb20e657eb2066)
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
