Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
89322f34
Commit
89322f34
authored
Mar 25, 2013
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace: ease the git version parsing (now works with rcX tag)
parent
ea734f49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Makefile
userspace/tools/Makefile
+1
-1
No files found.
userspace/tools/Makefile
View file @
89322f34
...
...
@@ -14,7 +14,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP
=
$(CROSS_COMPILE)
objdump
#
GIT_VER
=
$(
shell
git describe
--always
--dirty
=
+ |
sed
's;^
.*-\([v0-9\.]*\)\([a-z0-9\-+]*\)$$;\1\2
;'
)
GIT_VER
=
$(
shell
git describe
--always
--dirty
=
+ |
sed
's;^
[a-zA-Z\-]*-\(.*\)$$;\1
;'
)
GIT_USR
=
$(
shell
git config
--get-all
user.name
)
# LOTs of includes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment