diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-10 12:03:42 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-12 11:27:23 +0000 |
commit | fb8f1924f51ae4546eba9edf3dff81b4ff79afb0 (patch) | |
tree | e009043347ff71e9cb658be001ddc3230e25e4d3 /meta/recipes-kernel/perf | |
parent | f39288eb73e9be12844babbe99ca13d468b77dde (diff) | |
download | poky-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.bb | 4 |
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 | ||
126 | PERF_EXTRA_LDFLAGS = "" | 126 | PERF_EXTRA_LDFLAGS = "" |
127 | 127 | ||
128 | # MIPS N32 | 128 | # MIPS N32/N64 |
129 | PERF_EXTRA_LDFLAGS:mipsarchn32eb = "-m elf32btsmipn32" | 129 | PERF_EXTRA_LDFLAGS:mipsarchn32eb = "-m elf32btsmipn32" |
130 | PERF_EXTRA_LDFLAGS:mipsarchn32el = "-m elf32ltsmipn32" | 130 | PERF_EXTRA_LDFLAGS:mipsarchn32el = "-m elf32ltsmipn32" |
131 | PERF_EXTRA_LDFLAGS:mipsarchn64eb = "-m elf64btsmip" | ||
132 | PERF_EXTRA_LDFLAGS:mipsarchn64el = "-m elf64ltsmip" | ||
131 | 133 | ||
132 | do_compile() { | 134 | do_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 |