Patch "perf build: Fix out of tree build related to installation of sysreg-defs" has been added to the 6.8-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

    perf build: Fix out of tree build related to installation of sysreg-defs

to the 6.8-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:
     perf-build-fix-out-of-tree-build-related-to-installa.patch
and it can be found in the queue-6.8 subdirectory.

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



commit 34bac9df074bc994b0a890e228bb1586390e90b4
Author: Ethan Adams <j.ethan.adams@xxxxxxxxx>
Date:   Thu Mar 14 15:20:12 2024 -0700

    perf build: Fix out of tree build related to installation of sysreg-defs
    
    [ Upstream commit efae55bb78cf8722c7df01cd974197dfd13ece39 ]
    
    It seems that a previous modification to sysreg-defs, which corrected
    emitting the header to the specified output directory, exposed missing
    subdir, prefix variables.
    
    This breaks out of tree builds of perf as the file is now built into the
    output directory, but still tries to descend into output directory as a
    subdir.
    
    Fixes: a29ee6aea7030786 ("perf build: Ensure sysreg-defs Makefile respects output dir")
    Reviewed-by: Oliver Upton <oliver.upton@xxxxxxxxx>
    Reviewed-by: Tycho Andersen <tycho@tycho.pizza>
    Signed-off-by: Ethan Adams <j.ethan.adams@xxxxxxxxx>
    Tested-by: Tycho Andersen <tycho@tycho.pizza>
    Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
    Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
    Cc: Ian Rogers <irogers@xxxxxxxxxx>
    Cc: Ingo Molnar <mingo@xxxxxxxxxx>
    Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
    Cc: Mark Rutland <mark.rutland@xxxxxxx>
    Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
    Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20240314222012.47193-1-j.ethan.adams@xxxxxxxxx
    Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 116db7874412d..27705df2e2ba8 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -455,18 +455,19 @@ SHELL = $(SHELL_PATH)
 
 arm64_gen_sysreg_dir := $(srctree)/tools/arch/arm64/tools
 ifneq ($(OUTPUT),)
-  arm64_gen_sysreg_outdir := $(OUTPUT)
+  arm64_gen_sysreg_outdir := $(abspath $(OUTPUT))
 else
   arm64_gen_sysreg_outdir := $(CURDIR)
 endif
 
 arm64-sysreg-defs: FORCE
-	$(Q)$(MAKE) -C $(arm64_gen_sysreg_dir) O=$(arm64_gen_sysreg_outdir)
+	$(Q)$(MAKE) -C $(arm64_gen_sysreg_dir) O=$(arm64_gen_sysreg_outdir) \
+		prefix= subdir=
 
 arm64-sysreg-defs-clean:
 	$(call QUIET_CLEAN,arm64-sysreg-defs)
 	$(Q)$(MAKE) -C $(arm64_gen_sysreg_dir) O=$(arm64_gen_sysreg_outdir) \
-		clean > /dev/null
+		prefix= subdir= clean > /dev/null
 
 beauty_linux_dir := $(srctree)/tools/perf/trace/beauty/include/linux/
 linux_uapi_dir := $(srctree)/tools/include/uapi/linux




[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