summaryrefslogtreecommitdiff
path: root/meta/classes/siteinfo.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-05-29 00:01:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-30 16:31:21 +0100
commit9cd77aed67373e33dc69158ab02b94d7045c1119 (patch)
tree48c195dd62b28cd850612b8d8a667acdc6aec0a6 /meta/classes/siteinfo.bbclass
parent762d425ed6f6d9046d3e3230c44b42ea6173b447 (diff)
downloadopenembedded-core-9cd77aed67373e33dc69158ab02b94d7045c1119.tar.gz
openembedded-core-9cd77aed67373e33dc69158ab02b94d7045c1119.tar.bz2
openembedded-core-9cd77aed67373e33dc69158ab02b94d7045c1119.zip
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 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.bbclass13
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):
"linux-uclibc": "common-linux common-uclibc",
"linux-uclibceabi": "common-linux common-uclibc",
"linux-uclibcspe": "common-linux common-uclibc",
+ "linux-musl": "common-linux common-musl",
+ "linux-musleabi": "common-linux common-musl",
+ "linux-muslspe": "common-linux common-musl",
"uclinux-uclibc": "common-uclibc",
"cygwin": "common-cygwin",
"mingw32": "common-mingw",
@@ -66,21 +69,31 @@ def siteinfo_data(d):
"aarch64-linux-gnu": "aarch64-linux",
"aarch64_be-linux-gnu": "aarch64_be-linux",
"arm-linux-gnueabi": "arm-linux",
+ "arm-linux-musleabi": "arm-linux",
"arm-linux-uclibceabi": "arm-linux-uclibc",
"armeb-linux-gnueabi": "armeb-linux",
"armeb-linux-uclibceabi": "armeb-linux-uclibc",
+ "armeb-linux-musleabi": "armeb-linux",
+ "mips-linux-musl": "mips-linux",
+ "mipsel-linux-musl": "mipsel-linux",
+ "mips64-linux-musl": "mips-linux",
+ "mips64el-linux-musl": "mipsel-linux",
"mips64-linux-gnun32": "mips-linux bit-32",
"mips64el-linux-gnun32": "mipsel-linux bit-32",
"powerpc-linux": "powerpc32-linux",
+ "powerpc-linux-musl": "powerpc-linux powerpc32-linux",
"powerpc-linux-uclibc": "powerpc-linux powerpc32-linux",
"powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux",
+ "powerpc-linux-muslspe": "powerpc-linux powerpc32-linux",
"powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux powerpc-linux-uclibc",
"powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux",
+ "powerpc64-linux-muslspe": "powerpc-linux powerpc64-linux",
"powerpc64-linux": "powerpc-linux",
"x86_64-cygwin": "bit-64",
"x86_64-darwin": "bit-64",
"x86_64-darwin9": "bit-64",
"x86_64-linux": "bit-64",
+ "x86_64-linux-musl": "x86_64-linux bit-64",
"x86_64-linux-uclibc": "bit-64",
"x86_64-linux-gnu": "bit-64 x86_64-linux",
"x86_64-linux-gnux32": "bit-32 ix86-common x32-linux",