Thanks, applied as fc5257435efffd0c1ae15b4fea01458d225e5bca.

Michael

[sent from post-receive hook]

On Mon, 10 Jun 2024 21:41:18 +0200, Uwe Kleine-König 
<[email protected]> wrote:
> The perf build scripts default to prefix=$HOME, resulting in:
> 
>       # perf script -l
>       open(/home/ukl/libexec/perf-core/scripts) failed.
>       Check "PERF_EXEC_PATH" env to set scripts dir.
> 
> when I run ptxdist with HOME=/home/ukl. So set prefix explicitly.
> 
> Signed-off-by: Uwe Kleine-König <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/kernel.make b/rules/kernel.make
> index 0fe4f1e1b12a..24aa221e1bd0 100644
> --- a/rules/kernel.make
> +++ b/rules/kernel.make
> @@ -207,6 +207,7 @@ KERNEL_TOOL_PERF_OPTS     := \
>       -C $(KERNEL_DIR)/tools/perf \
>       O=$(KERNEL_BUILD_DIR)/tools/perf \
>       $(KERNEL_BASE_OPT) \
> +     prefix=/usr \
>       WERROR=0 \
>       NO_LIBPERL=1 \
>       NO_LIBPYTHON=1 \

Reply via email to