Skip to content

Commit f771d53

Browse files
benh-debianrostedt
authored andcommitted
tools/rtla: Fix installation from out-of-tree build
rtla now supports out-of-tree builds, but installation fails as it still tries to install the rtla binary from the source tree. Use the existing macro $(RTLA) to refer to the binary. Link: https://lore.kernel.org/[email protected] Fixes: 01474dc ("tools/rtla: Use tools/build makefiles to build rtla") Reviewed-by: Tomas Glozar <[email protected]> Tested-by: Tomas Glozar <[email protected]> Signed-off-by: Ben Hutchings <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 50a3242 commit f771d53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/tracing/rtla/Makefile.rtla

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ BINDIR := /usr/bin
3838
.PHONY: install
3939
install: doc_install
4040
@$(MKDIR) -p $(DESTDIR)$(BINDIR)
41-
$(call QUIET_INSTALL,rtla)$(INSTALL) rtla -m 755 $(DESTDIR)$(BINDIR)
41+
$(call QUIET_INSTALL,rtla)$(INSTALL) $(RTLA) -m 755 $(DESTDIR)$(BINDIR)
4242
@$(STRIP) $(DESTDIR)$(BINDIR)/rtla
4343
@test ! -f $(DESTDIR)$(BINDIR)/osnoise || $(RM) $(DESTDIR)$(BINDIR)/osnoise
4444
@$(LN) rtla $(DESTDIR)$(BINDIR)/osnoise

0 commit comments

Comments
 (0)