diff options
Diffstat (limited to 'meta/recipes-kernel/perf/perf.bb')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index fe96e1012b..11fa917649 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -129,7 +129,10 @@ EXTRA_OEMAKE += "\ | |||
129 | # honour a JOBS variable. | 129 | # honour a JOBS variable. |
130 | EXTRA_OEMAKE:append:task-configure = " JOBS=1" | 130 | EXTRA_OEMAKE:append:task-configure = " JOBS=1" |
131 | 131 | ||
132 | # include/uapi/asm is for: include/uapi/asm/bpf_perf_event.h | 132 | # the architectures that need this file can be found in |
133 | # tools/include/uapi/asm/bpf_perf_event.h | ||
134 | # We are only listing supported arches at the moment | ||
135 | PERF_BPF_EVENT_SRC ?= '${@bb.utils.contains_any("ARCH", [ "riscv", "arm64" ], "arch/${ARCH}/include/uapi/asm/bpf_perf_event.h", "", d)}' | ||
133 | PERF_SRC ?= "Makefile \ | 136 | PERF_SRC ?= "Makefile \ |
134 | tools/arch \ | 137 | tools/arch \ |
135 | tools/build \ | 138 | tools/build \ |
@@ -140,7 +143,7 @@ PERF_SRC ?= "Makefile \ | |||
140 | tools/scripts \ | 143 | tools/scripts \ |
141 | scripts/ \ | 144 | scripts/ \ |
142 | arch/arm64/tools \ | 145 | arch/arm64/tools \ |
143 | arch/${ARCH}/include/uapi/asm/ \ | 146 | ${PERF_BPF_EVENT_SRC} \ |
144 | arch/${ARCH}/Makefile \ | 147 | arch/${ARCH}/Makefile \ |
145 | " | 148 | " |
146 | 149 | ||