Patch "tools/rtla: Fix installation from out-of-tree build" has been added to the 6.10-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    tools/rtla: Fix installation from out-of-tree build

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     tools-rtla-fix-installation-from-out-of-tree-build.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 26bda69f017b9511c2c50bd0f57d577598f38b39
Author: Ben Hutchings <benh@xxxxxxxxxx>
Date:   Mon Sep 16 01:31:58 2024 +0200

    tools/rtla: Fix installation from out-of-tree build
    
    [ Upstream commit f771d5369f1dbfe32c93bcb4f5d7ca8322b15389 ]
    
    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/ZudubuoU_JHjPZ7w@xxxxxxxxxxxxxxx
    Fixes: 01474dc706ca ("tools/rtla: Use tools/build makefiles to build rtla")
    Reviewed-by: Tomas Glozar <tglozar@xxxxxxxxxx>
    Tested-by: Tomas Glozar <tglozar@xxxxxxxxxx>
    Signed-off-by: Ben Hutchings <benh@xxxxxxxxxx>
    Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/tracing/rtla/Makefile.rtla b/tools/tracing/rtla/Makefile.rtla
index 3ff0b8970896f..cc1d6b615475f 100644
--- a/tools/tracing/rtla/Makefile.rtla
+++ b/tools/tracing/rtla/Makefile.rtla
@@ -38,7 +38,7 @@ BINDIR		:= /usr/bin
 .PHONY: install
 install: doc_install
 	@$(MKDIR) -p $(DESTDIR)$(BINDIR)
-	$(call QUIET_INSTALL,rtla)$(INSTALL) rtla -m 755 $(DESTDIR)$(BINDIR)
+	$(call QUIET_INSTALL,rtla)$(INSTALL) $(RTLA) -m 755 $(DESTDIR)$(BINDIR)
 	@$(STRIP) $(DESTDIR)$(BINDIR)/rtla
 	@test ! -f $(DESTDIR)$(BINDIR)/osnoise || $(RM) $(DESTDIR)$(BINDIR)/osnoise
 	@$(LN) rtla $(DESTDIR)$(BINDIR)/osnoise




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux