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>
This commit is contained in:
Mark Hatle 2016-10-06 11:59:38 -05:00 committed by Richard Purdie
parent 8be92dcd59
commit 1ddd23c542
1 changed files with 4 additions and 1 deletions

View File

@ -1,12 +1,15 @@
linuxloader () {
case ${TARGET_ARCH} in
powerpc | mips | mipsel | microblaze )
powerpc | microblaze )
dynamic_loader="${base_libdir}/ld.so.1"
;;
mipsisa32r6el | mipsisa32r6 | mipsisa64r6el | mipsisa64r6)
dynamic_loader="${base_libdir}/ld-linux-mipsn8.so.1"
;;
mips* )
dynamic_loader="${base_libdir}/ld.so.1"
;;
powerpc64)
dynamic_loader="${base_libdir}/ld64.so.1"
;;