1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 04:58:26 +00:00

perf: add arm64 source files for unistd_64.h

kernel commit bfb713ea53c7 ("perf tools: Fix arm64 build by generating unistd_64.h")
introduces a new dependency on source files for arm64, specifically
include/uapi/asm-generic.

Build fails with:
[..]/perf/1.0/perf-1.0/scripts/Makefile.asm-headers:33: [...]/perf/1.0/perf-1.0/include/uapi/asm-generic/Kbuild: No such file or directory
make[4]: *** No rule to make target '[...]/perf/1.0/perf-1.0/include/uapi/asm-generic/Kbuild'.  Stop.

Add the directory to PERF_SRC.
Fix whitespace error while at it.

(From OE-Core rev: 06d4981313ce67a8d53b1c14be9845b4b5a9f4cf)

Signed-off-by: Yannic Moog <y.moog@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Yannic Moog
2025-11-01 02:27:24 +00:00
committed by Steve Sakoman
parent 4f2287dcc4
commit b33a8abe77
+1
View File
@@ -145,6 +145,7 @@ PERF_SRC ?= "Makefile \
arch/arm64/tools \ arch/arm64/tools \
${PERF_BPF_EVENT_SRC} \ ${PERF_BPF_EVENT_SRC} \
arch/${ARCH}/Makefile \ arch/${ARCH}/Makefile \
include/uapi/asm-generic/Kbuild \
" "
PERF_EXTRA_LDFLAGS = "" PERF_EXTRA_LDFLAGS = ""