Skip to content

Commit

Permalink
build: EXTRAVERSION should be set without a leading period
Browse files Browse the repository at this point in the history
EXTRAVERSION should be set without a leading period, and then add
the period where necessary in the Makefile

Signed-off-by: John Kacur <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
  • Loading branch information
John Kacur authored and rostedt committed Jun 9, 2010
1 parent 5a863b6 commit 533f4c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# trace-cmd version
TC_VERSION = 1
TC_PATCHLEVEL = 0
TC_EXTRAVERSION =
TC_EXTRAVERSION = 0

# Kernel Shark version
KS_VERSION = 0
@@ -324,7 +324,7 @@ define make_version.h
echo \#define VERSION_CODE $(shell \
expr $(VERSION) \* 256 + $(PATCHLEVEL)); \
echo '#define EXTRAVERSION ' $(EXTRAVERSION); \
echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL)$(EXTRAVERSION)'"'; \
echo '#define VERSION_STRING "'$(VERSION).$(PATCHLEVEL).$(EXTRAVERSION)'"'; \
echo '#define FILE_VERSION '$(FILE_VERSION); \
) > $1
endef

0 comments on commit 533f4c1

Please sign in to comment.