We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ab5eb commit 8619e32Copy full SHA for 8619e32
tools/tracing/rtla/Makefile
@@ -1,5 +1,6 @@
1
NAME := rtla
2
-VERSION := 0.5
+# Follow the kernel version
3
+VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion)
4
5
# From libtracefs:
6
# Makefiles suck: This macro sets a default value of $(2) for the
@@ -85,6 +86,7 @@ clean: doc_clean
85
86
87
tarball: clean
88
rm -rf $(NAME)-$(VERSION) && mkdir $(NAME)-$(VERSION)
89
+ echo $(VERSION) > $(NAME)-$(VERSION)/VERSION
90
cp -r $(DIRS) $(FILES) $(NAME)-$(VERSION)
91
mkdir $(NAME)-$(VERSION)/Documentation/
92
cp -rp $(SRCTREE)/../../../Documentation/tools/rtla/* $(NAME)-$(VERSION)/Documentation/
0 commit comments