perf: Add /scripts to sources
PATCH 1/1 perf: Add /scripts to sources
As of linux-next-20191022, we need bpf_helpers_doc.py in order to
build libbpf, which lives in /scripts. Otherwise, do_compile fails
with:
| /bin/sh: 1: /oe/build/tmp/work/machine-triplet/perf/1.0-r9/perf-1.0/scripts/bpf_helpers_doc.py: not found | Makefile:184: recipe for target 'bpf_helper_defs.h' failed
See commit e01a75c159691 ("libbpf: Move bpf_{helpers, helper_defs, endian, tracing}.h into libbpf") from linux-next.
--- meta/recipes-kernel/perf/perf.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-kernel/perf/perf.bb +1 -0
@@ -113,6 +113,7 @@ PERF_SRC ?= "Makefile \ tools/Makefile \ tools/perf \ tools/scripts \ + scripts \ " PERF_EXTRA_LDFLAGS = ""
Signature · 1 line
2.20.1
wrong ml
I think you want [email protected]
Quoted 26 lines · Daniel Díaz
As of linux-next-20191022, we need
bpf_helpers_doc.pyin order to
build libbpf, which lives in /scripts. Otherwise,do_compilefails
with:
|/bin/sh: 1: /oe/build/tmp/work/machine-triplet/perf/1.0-r9/perf-1.0/scripts/bpf_helpers_doc.py: not found | Makefile:184: recipe for target 'bpf_helper_defs.h' failedSee commit
e01a75c159691("libbpf: Move bpf_{helpers,helper_defs, endian, tracing}.h into libbpf") from linux-next.Signed-off-by Daniel Díaz <[email protected]>--- meta/recipes-kernel/perf/perf.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-kernel/perf/perf.bb +1
-0@@ -113,6 +113,7 @@ PERF_SRC ?= "Makefile \ tools/Makefile \ tools/perf \ tools/scripts \ + scripts \ " PERF_EXTRA_LDFLAGS = ""
Hello!
Quoted 2 lines · On Thu, 24 Oct 2019 at 13:24, akuster808 <[email protected]> wrote:
wrong ml
I think you want [email protected]
Indeed. Thanks for the heads-up!
Greetings!
Daniel Díaz
[email protected]
Quoted 28 lines · Daniel Díaz
Quoted 26 lines
As of linux-next-20191022, we need
bpf_helpers_doc.pyin order to
build libbpf, which lives in /scripts. Otherwise,do_compilefails
with:
|/bin/sh: 1: /oe/build/tmp/work/machine-triplet/perf/1.0-r9/perf-1.0/scripts/bpf_helpers_doc.py: not found | Makefile:184: recipe for target 'bpf_helper_defs.h' failedSee commit
e01a75c159691("libbpf: Move bpf_{helpers,helper_defs, endian, tracing}.h into libbpf") from linux-next.Signed-off-by Daniel Díaz <[email protected]>--- meta/recipes-kernel/perf/perf.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-kernel/perf/perf.bb +1
-0@@ -113,6 +113,7 @@ PERF_SRC ?= "Makefile \ tools/Makefile \ tools/perf \ tools/scripts \ + scripts \ " PERF_EXTRA_LDFLAGS = ""