summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYannic Moog <y.moog@phytec.de>2025-06-05 09:23:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-06-09 17:43:41 +0100
commit3521e0b8634040e2da94380e19c23db90363fdd4 (patch)
tree61414da3be29888763fbe92ff7018ae2c611dfbb
parent57f4fad751d5a8d7cce8379a3b70e4e10c7e6ecf (diff)
downloadpoky-3521e0b8634040e2da94380e19c23db90363fdd4.tar.gz
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: 7e24a0e9dd75070bff0c11c4db47a30b71afaa94) Signed-off-by: Yannic Moog <y.moog@phytec.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/perf/perf.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 0d19e1bdc2..6cc5499d8d 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -151,6 +151,7 @@ PERF_SRC ?= "Makefile \
151 arch/arm64/tools \ 151 arch/arm64/tools \
152 ${PERF_BPF_EVENT_SRC} \ 152 ${PERF_BPF_EVENT_SRC} \
153 arch/${ARCH}/Makefile \ 153 arch/${ARCH}/Makefile \
154 include/uapi/asm-generic/Kbuild \
154" 155"
155 156
156PERF_EXTRA_LDFLAGS = "" 157PERF_EXTRA_LDFLAGS = ""
@@ -208,7 +209,7 @@ python copy_perf_source_from_kernel() {
208do_configure:prepend () { 209do_configure:prepend () {
209 # If building a multlib based perf, the incorrect library path will be 210 # If building a multlib based perf, the incorrect library path will be
210 # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit 211 # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit
211 # build, with a 64 bit multilib, the arch won't match and the detection of a 212 # build, with a 64 bit multilib, the arch won't match and the detection of a
212 # 64 bit build (and library) are not exected. To ensure that libraries are 213 # 64 bit build (and library) are not exected. To ensure that libraries are
213 # installed to the correct location, we can use the weak assignment in the 214 # installed to the correct location, we can use the weak assignment in the
214 # config/Makefile. 215 # config/Makefile.