summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2016-10-06 11:59:38 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-07 16:43:50 +0100
commitb90d68fda3d14b4d19b7ffcb5b80ed28563a616d (patch)
treeed07608da39a7acd5cfe9c9cb85915ad0f845b00 /meta/classes
parent6b2e0c60c3222a13b33284f258d5c340222d759f (diff)
downloadopenembedded-core-b90d68fda3d14b4d19b7ffcb5b80ed28563a616d.tar.gz
openembedded-core-b90d68fda3d14b4d19b7ffcb5b80ed28563a616d.tar.bz2
openembedded-core-b90d68fda3d14b4d19b7ffcb5b80ed28563a616d.zip
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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/linuxloader.bbclass5
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 @@
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"
;;