summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-10 12:03:42 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-12-12 11:27:23 +0000
commitfb8f1924f51ae4546eba9edf3dff81b4ff79afb0 (patch)
treee009043347ff71e9cb658be001ddc3230e25e4d3 /meta/recipes-kernel/perf
parentf39288eb73e9be12844babbe99ca13d468b77dde (diff)
downloadpoky-fb8f1924f51ae4546eba9edf3dff81b4ff79afb0.tar.gz
perf: Tweak for mips n64
With the changes to binutils, perf's direct calls to ld break for mips n64. We already have tweaks for n32 so match those with the ones for n64. (From OE-Core rev: 33828620872b80e1c745612e025215666ba755c8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r--meta/recipes-kernel/perf/perf.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 7bbc1ad70c..ec0c6efe15 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -125,9 +125,11 @@ PERF_SRC ?= "Makefile \
125 125
126PERF_EXTRA_LDFLAGS = "" 126PERF_EXTRA_LDFLAGS = ""
127 127
128# MIPS N32 128# MIPS N32/N64
129PERF_EXTRA_LDFLAGS:mipsarchn32eb = "-m elf32btsmipn32" 129PERF_EXTRA_LDFLAGS:mipsarchn32eb = "-m elf32btsmipn32"
130PERF_EXTRA_LDFLAGS:mipsarchn32el = "-m elf32ltsmipn32" 130PERF_EXTRA_LDFLAGS:mipsarchn32el = "-m elf32ltsmipn32"
131PERF_EXTRA_LDFLAGS:mipsarchn64eb = "-m elf64btsmip"
132PERF_EXTRA_LDFLAGS:mipsarchn64el = "-m elf64ltsmip"
131 133
132do_compile() { 134do_compile() {
133 # Linux kernel build system is expected to do the right thing 135 # Linux kernel build system is expected to do the right thing