Skip to content

Commit 8619e32

Browse files
Daniel Bristot de Oliveirarostedt
authored andcommitted
rtla: Follow kernel version
To avoid having commits with new version, it is just easier to follow kernel version. Link: https://lkml.kernel.org/r/9c2df0d1de65cea96c7d731fe64781a2bb90c5b3.1643990447.git.bristot@kernel.org Cc: Daniel Bristot de Oliveira <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Daniel Bristot de Oliveira <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 67ab5eb commit 8619e32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/tracing/rtla/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
NAME := rtla
2-
VERSION := 0.5
2+
# Follow the kernel version
3+
VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion)
34

45
# From libtracefs:
56
# Makefiles suck: This macro sets a default value of $(2) for the
@@ -85,6 +86,7 @@ clean: doc_clean
8586

8687
tarball: clean
8788
rm -rf $(NAME)-$(VERSION) && mkdir $(NAME)-$(VERSION)
89+
echo $(VERSION) > $(NAME)-$(VERSION)/VERSION
8890
cp -r $(DIRS) $(FILES) $(NAME)-$(VERSION)
8991
mkdir $(NAME)-$(VERSION)/Documentation/
9092
cp -rp $(SRCTREE)/../../../Documentation/tools/rtla/* $(NAME)-$(VERSION)/Documentation/

0 commit comments

Comments
 (0)