diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2016-10-06 11:59:38 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-07 16:43:58 +0100 |
commit | 1ddd23c5429b1f6d4dacae1a9b0158d983c8e8e5 (patch) | |
tree | af188e82486b7339ff5a65dd56bf5a231a71aa85 /meta | |
parent | 8be92dcd5979a9cae55342b7493b36497de97fea (diff) | |
download | poky-1ddd23c5429b1f6d4dacae1a9b0158d983c8e8e5.tar.gz |
linuxloader.bbclass: Adjust mips to cover all mips/mips64
[YOCTO #10389]
Use a glob (*) to match all mips (not previously matched). This will ensure
that the linuxloader is properly returned for mips, mipsel, mips64,
mips64el and their n32 variants.
See: https://sourceware.org/glibc/wiki/ABIList#mips for the official list
of loaders.
(From OE-Core rev: b90d68fda3d14b4d19b7ffcb5b80ed28563a616d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/linuxloader.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass index 8d85e6eb7e..117b030746 100644 --- a/meta/classes/linuxloader.bbclass +++ b/meta/classes/linuxloader.bbclass | |||
@@ -1,12 +1,15 @@ | |||
1 | 1 | ||
2 | linuxloader () { | 2 | linuxloader () { |
3 | case ${TARGET_ARCH} in | 3 | case ${TARGET_ARCH} in |
4 | powerpc | mips | mipsel | microblaze ) | 4 | powerpc | microblaze ) |
5 | dynamic_loader="${base_libdir}/ld.so.1" | 5 | dynamic_loader="${base_libdir}/ld.so.1" |
6 | ;; | 6 | ;; |
7 | mipsisa32r6el | mipsisa32r6 | mipsisa64r6el | mipsisa64r6) | 7 | mipsisa32r6el | mipsisa32r6 | mipsisa64r6el | mipsisa64r6) |
8 | dynamic_loader="${base_libdir}/ld-linux-mipsn8.so.1" | 8 | dynamic_loader="${base_libdir}/ld-linux-mipsn8.so.1" |
9 | ;; | 9 | ;; |
10 | mips* ) | ||
11 | dynamic_loader="${base_libdir}/ld.so.1" | ||
12 | ;; | ||
10 | powerpc64) | 13 | powerpc64) |
11 | dynamic_loader="${base_libdir}/ld64.so.1" | 14 | dynamic_loader="${base_libdir}/ld64.so.1" |
12 | ;; | 15 | ;; |