diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-05-29 00:01:01 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-01 14:29:29 +0100 |
commit | 56d4f91fe24a3dfa791b5c62a4103a182f500495 (patch) | |
tree | 5c8f1f00837d775cfdb28d96778e5259cf9bb76f /meta/classes/siteinfo.bbclass | |
parent | 5d14f3c03a628f72fca05bb8e0434a91cdf50e94 (diff) | |
download | poky-56d4f91fe24a3dfa791b5c62a4103a182f500495.tar.gz |
siteinfo, insane: Recognize musl specific triplets
We will use '-musl' to identify musl based systems
this patch lays the foundation for recognising those
and map them to internal variable representations
(From OE-Core rev: 9cd77aed67373e33dc69158ab02b94d7045c1119)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/siteinfo.bbclass')
-rw-r--r-- | meta/classes/siteinfo.bbclass | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 9ae2561c88..e90632aeef 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass | |||
@@ -58,6 +58,9 @@ def siteinfo_data(d): | |||
58 | "linux-uclibc": "common-linux common-uclibc", | 58 | "linux-uclibc": "common-linux common-uclibc", |
59 | "linux-uclibceabi": "common-linux common-uclibc", | 59 | "linux-uclibceabi": "common-linux common-uclibc", |
60 | "linux-uclibcspe": "common-linux common-uclibc", | 60 | "linux-uclibcspe": "common-linux common-uclibc", |
61 | "linux-musl": "common-linux common-musl", | ||
62 | "linux-musleabi": "common-linux common-musl", | ||
63 | "linux-muslspe": "common-linux common-musl", | ||
61 | "uclinux-uclibc": "common-uclibc", | 64 | "uclinux-uclibc": "common-uclibc", |
62 | "cygwin": "common-cygwin", | 65 | "cygwin": "common-cygwin", |
63 | "mingw32": "common-mingw", | 66 | "mingw32": "common-mingw", |
@@ -66,21 +69,31 @@ def siteinfo_data(d): | |||
66 | "aarch64-linux-gnu": "aarch64-linux", | 69 | "aarch64-linux-gnu": "aarch64-linux", |
67 | "aarch64_be-linux-gnu": "aarch64_be-linux", | 70 | "aarch64_be-linux-gnu": "aarch64_be-linux", |
68 | "arm-linux-gnueabi": "arm-linux", | 71 | "arm-linux-gnueabi": "arm-linux", |
72 | "arm-linux-musleabi": "arm-linux", | ||
69 | "arm-linux-uclibceabi": "arm-linux-uclibc", | 73 | "arm-linux-uclibceabi": "arm-linux-uclibc", |
70 | "armeb-linux-gnueabi": "armeb-linux", | 74 | "armeb-linux-gnueabi": "armeb-linux", |
71 | "armeb-linux-uclibceabi": "armeb-linux-uclibc", | 75 | "armeb-linux-uclibceabi": "armeb-linux-uclibc", |
76 | "armeb-linux-musleabi": "armeb-linux", | ||
77 | "mips-linux-musl": "mips-linux", | ||
78 | "mipsel-linux-musl": "mipsel-linux", | ||
79 | "mips64-linux-musl": "mips-linux", | ||
80 | "mips64el-linux-musl": "mipsel-linux", | ||
72 | "mips64-linux-gnun32": "mips-linux bit-32", | 81 | "mips64-linux-gnun32": "mips-linux bit-32", |
73 | "mips64el-linux-gnun32": "mipsel-linux bit-32", | 82 | "mips64el-linux-gnun32": "mipsel-linux bit-32", |
74 | "powerpc-linux": "powerpc32-linux", | 83 | "powerpc-linux": "powerpc32-linux", |
84 | "powerpc-linux-musl": "powerpc-linux powerpc32-linux", | ||
75 | "powerpc-linux-uclibc": "powerpc-linux powerpc32-linux", | 85 | "powerpc-linux-uclibc": "powerpc-linux powerpc32-linux", |
76 | "powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux", | 86 | "powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux", |
87 | "powerpc-linux-muslspe": "powerpc-linux powerpc32-linux", | ||
77 | "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux powerpc-linux-uclibc", | 88 | "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux powerpc-linux-uclibc", |
78 | "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux", | 89 | "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux", |
90 | "powerpc64-linux-muslspe": "powerpc-linux powerpc64-linux", | ||
79 | "powerpc64-linux": "powerpc-linux", | 91 | "powerpc64-linux": "powerpc-linux", |
80 | "x86_64-cygwin": "bit-64", | 92 | "x86_64-cygwin": "bit-64", |
81 | "x86_64-darwin": "bit-64", | 93 | "x86_64-darwin": "bit-64", |
82 | "x86_64-darwin9": "bit-64", | 94 | "x86_64-darwin9": "bit-64", |
83 | "x86_64-linux": "bit-64", | 95 | "x86_64-linux": "bit-64", |
96 | "x86_64-linux-musl": "x86_64-linux bit-64", | ||
84 | "x86_64-linux-uclibc": "bit-64", | 97 | "x86_64-linux-uclibc": "bit-64", |
85 | "x86_64-linux-gnu": "bit-64 x86_64-linux", | 98 | "x86_64-linux-gnu": "bit-64 x86_64-linux", |
86 | "x86_64-linux-gnux32": "bit-32 ix86-common x32-linux", | 99 | "x86_64-linux-gnux32": "bit-32 ix86-common x32-linux", |