summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-15 23:15:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-22 09:16:00 +0100
commit4c2d0b1205be2c0e42cafea1de18e46edf4a374b (patch)
tree929918f4745764c3b5618f1489e540cf0645eeb4 /meta/classes
parent39df3561d8cb0d6d86d492bb462640cf2f0a760a (diff)
downloadpoky-4c2d0b1205be2c0e42cafea1de18e46edf4a374b.tar.gz
meta: Remove further uclibc remnants (inc. patches and site files)
Some of these are clearly dead, e.g. one binutils patch reverts the effects of the earlier one. This also removes the uclibc site files. We now have mechanisms to allow these to be extended from another layer should someone ever wish to do that. (From OE-Core rev: e01e7c543a559c8926d72159b5cd55db0c661434) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/cross-canadian.bbclass6
-rw-r--r--meta/classes/icecc.bbclass2
-rw-r--r--meta/classes/insane.bbclass24
-rw-r--r--meta/classes/siteinfo.bbclass8
4 files changed, 3 insertions, 37 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 49388d4cf2..8554e87521 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -15,7 +15,7 @@ STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${S
15# Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS 15# Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS
16# 16#
17PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}" 17PACKAGE_ARCH = "${SDK_ARCH}-${SDKPKGSUFFIX}"
18BASECANADIANEXTRAOS ?= "linux-uclibc linux-musl" 18BASECANADIANEXTRAOS ?= "linux-musl"
19CANADIANEXTRAOS = "${BASECANADIANEXTRAOS}" 19CANADIANEXTRAOS = "${BASECANADIANEXTRAOS}"
20CANADIANEXTRAVENDOR = "" 20CANADIANEXTRAVENDOR = ""
21MODIFYTOS ??= "1" 21MODIFYTOS ??= "1"
@@ -36,8 +36,6 @@ python () {
36 tos = d.getVar("TARGET_OS") 36 tos = d.getVar("TARGET_OS")
37 whitelist = [] 37 whitelist = []
38 extralibcs = [""] 38 extralibcs = [""]
39 if "uclibc" in d.getVar("BASECANADIANEXTRAOS"):
40 extralibcs.append("uclibc")
41 if "musl" in d.getVar("BASECANADIANEXTRAOS"): 39 if "musl" in d.getVar("BASECANADIANEXTRAOS"):
42 extralibcs.append("musl") 40 extralibcs.append("musl")
43 for variant in ["", "spe", "x32", "eabi", "n32"]: 41 for variant in ["", "spe", "x32", "eabi", "n32"]:
@@ -80,7 +78,7 @@ python () {
80 for extraos in d.getVar("BASECANADIANEXTRAOS").split(): 78 for extraos in d.getVar("BASECANADIANEXTRAOS").split():
81 d.appendVar("CANADIANEXTRAOS", " " + extraos + "n32") 79 d.appendVar("CANADIANEXTRAOS", " " + extraos + "n32")
82 if tarch == "arm" or tarch == "armeb": 80 if tarch == "arm" or tarch == "armeb":
83 d.appendVar("CANADIANEXTRAOS", " linux-gnueabi linux-musleabi linux-uclibceabi") 81 d.appendVar("CANADIANEXTRAOS", " linux-gnueabi linux-musleabi")
84 d.setVar("TARGET_OS", "linux-gnueabi") 82 d.setVar("TARGET_OS", "linux-gnueabi")
85 else: 83 else:
86 d.setVar("TARGET_OS", "linux") 84 d.setVar("TARGET_OS", "linux")
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 8a351cf3b8..8a3308bdda 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -115,7 +115,7 @@ def use_icecc(bb,d):
115 # for one reason or the other 115 # for one reason or the other
116 # this is the old list (which doesn't seem to be valid anymore, because I was able to build 116 # this is the old list (which doesn't seem to be valid anymore, because I was able to build
117 # all these with icecc enabled) 117 # all these with icecc enabled)
118 # system_package_blacklist = [ "uclibc", "glibc", "gcc", "bind", "u-boot", "dhcp-forwarder", "enchant", "connman", "orbit2" ] 118 # system_package_blacklist = [ "glibc", "gcc", "bind", "u-boot", "dhcp-forwarder", "enchant", "connman", "orbit2" ]
119 # when adding new entry, please document why (how it failed) so that we can re-evaluate it later 119 # when adding new entry, please document why (how it failed) so that we can re-evaluate it later
120 # e.g. when there is new version 120 # e.g. when there is new version
121 # building libgcc-initial with icecc fails with CPP sanity check error if host sysroot contains cross gcc built for another target tune/variant 121 # building libgcc-initial with icecc fails with CPP sanity check error if host sysroot contains cross gcc built for another target tune/variant
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index f6fd7c74d8..7444c58c28 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -103,23 +103,6 @@ def package_qa_get_machine_dict(d):
103 "microblazeeb":(189, 0, 0, False, 32), 103 "microblazeeb":(189, 0, 0, False, 32),
104 "microblazeel":(189, 0, 0, True, 32), 104 "microblazeel":(189, 0, 0, True, 32),
105 }, 105 },
106 "linux-uclibc" : {
107 "arm" : ( 40, 97, 0, True, 32),
108 "armeb": ( 40, 97, 0, False, 32),
109 "powerpc": ( 20, 0, 0, False, 32),
110 "i386": ( 3, 0, 0, True, 32),
111 "i486": ( 3, 0, 0, True, 32),
112 "i586": ( 3, 0, 0, True, 32),
113 "i686": ( 3, 0, 0, True, 32),
114 "x86_64": ( 62, 0, 0, True, 64),
115 "mips": ( 8, 0, 0, False, 32),
116 "mipsel": ( 8, 0, 0, True, 32),
117 "mips64": ( 8, 0, 0, False, 64),
118 "mips64el": ( 8, 0, 0, True, 64),
119 "avr32": (6317, 0, 0, False, 32),
120 "sh4": (42, 0, 0, True, 32),
121
122 },
123 "linux-musl" : { 106 "linux-musl" : {
124 "aarch64" : (183, 0, 0, True, 64), 107 "aarch64" : (183, 0, 0, True, 64),
125 "aarch64_be" :(183, 0, 0, False, 64), 108 "aarch64_be" :(183, 0, 0, False, 64),
@@ -151,19 +134,12 @@ def package_qa_get_machine_dict(d):
151 "arm" : (40, 0, 0, True, 32), 134 "arm" : (40, 0, 0, True, 32),
152 "armeb" : (40, 0, 0, False, 32), 135 "armeb" : (40, 0, 0, False, 32),
153 }, 136 },
154 "linux-uclibceabi" : {
155 "arm" : (40, 0, 0, True, 32),
156 "armeb" : (40, 0, 0, False, 32),
157 },
158 "linux-gnuspe" : { 137 "linux-gnuspe" : {
159 "powerpc": (20, 0, 0, False, 32), 138 "powerpc": (20, 0, 0, False, 32),
160 }, 139 },
161 "linux-muslspe" : { 140 "linux-muslspe" : {
162 "powerpc": (20, 0, 0, False, 32), 141 "powerpc": (20, 0, 0, False, 32),
163 }, 142 },
164 "linux-uclibcspe" : {
165 "powerpc": (20, 0, 0, False, 32),
166 },
167 "linux-gnu" : { 143 "linux-gnu" : {
168 "powerpc": (20, 0, 0, False, 32), 144 "powerpc": (20, 0, 0, False, 32),
169 "sh4": (42, 0, 0, True, 32), 145 "sh4": (42, 0, 0, True, 32),
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index 2c33732be3..90ea5ba807 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -62,9 +62,6 @@ def siteinfo_data(d):
62 "linux-gnun32": "common-linux common-glibc", 62 "linux-gnun32": "common-linux common-glibc",
63 "linux-gnueabi": "common-linux common-glibc", 63 "linux-gnueabi": "common-linux common-glibc",
64 "linux-gnuspe": "common-linux common-glibc", 64 "linux-gnuspe": "common-linux common-glibc",
65 "linux-uclibc": "common-linux common-uclibc",
66 "linux-uclibceabi": "common-linux common-uclibc",
67 "linux-uclibcspe": "common-linux common-uclibc",
68 "linux-musl": "common-linux common-musl", 65 "linux-musl": "common-linux common-musl",
69 "linux-musleabi": "common-linux common-musl", 66 "linux-musleabi": "common-linux common-musl",
70 "linux-muslspe": "common-linux common-musl", 67 "linux-muslspe": "common-linux common-musl",
@@ -79,9 +76,7 @@ def siteinfo_data(d):
79 "aarch64_be-linux-musl": "aarch64_be-linux", 76 "aarch64_be-linux-musl": "aarch64_be-linux",
80 "arm-linux-gnueabi": "arm-linux", 77 "arm-linux-gnueabi": "arm-linux",
81 "arm-linux-musleabi": "arm-linux", 78 "arm-linux-musleabi": "arm-linux",
82 "arm-linux-uclibceabi": "arm-linux-uclibc",
83 "armeb-linux-gnueabi": "armeb-linux", 79 "armeb-linux-gnueabi": "armeb-linux",
84 "armeb-linux-uclibceabi": "armeb-linux-uclibc",
85 "armeb-linux-musleabi": "armeb-linux", 80 "armeb-linux-musleabi": "armeb-linux",
86 "mips-linux-musl": "mips-linux", 81 "mips-linux-musl": "mips-linux",
87 "mipsel-linux-musl": "mipsel-linux", 82 "mipsel-linux-musl": "mipsel-linux",
@@ -93,10 +88,8 @@ def siteinfo_data(d):
93 "mipsisa64r6el-linux-gnun32": "mipsisa32r6el-linux bit-32", 88 "mipsisa64r6el-linux-gnun32": "mipsisa32r6el-linux bit-32",
94 "powerpc-linux": "powerpc32-linux", 89 "powerpc-linux": "powerpc32-linux",
95 "powerpc-linux-musl": "powerpc-linux powerpc32-linux", 90 "powerpc-linux-musl": "powerpc-linux powerpc32-linux",
96 "powerpc-linux-uclibc": "powerpc-linux powerpc32-linux",
97 "powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux", 91 "powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux",
98 "powerpc-linux-muslspe": "powerpc-linux powerpc32-linux", 92 "powerpc-linux-muslspe": "powerpc-linux powerpc32-linux",
99 "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux powerpc-linux-uclibc",
100 "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux", 93 "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux",
101 "powerpc64-linux-muslspe": "powerpc-linux powerpc64-linux", 94 "powerpc64-linux-muslspe": "powerpc-linux powerpc64-linux",
102 "powerpc64-linux": "powerpc-linux", 95 "powerpc64-linux": "powerpc-linux",
@@ -106,7 +99,6 @@ def siteinfo_data(d):
106 "x86_64-darwin9": "bit-64", 99 "x86_64-darwin9": "bit-64",
107 "x86_64-linux": "bit-64", 100 "x86_64-linux": "bit-64",
108 "x86_64-linux-musl": "x86_64-linux bit-64", 101 "x86_64-linux-musl": "x86_64-linux bit-64",
109 "x86_64-linux-uclibc": "bit-64",
110 "x86_64-elf": "bit-64", 102 "x86_64-elf": "bit-64",
111 "x86_64-linux-gnu": "bit-64 x86_64-linux", 103 "x86_64-linux-gnu": "bit-64 x86_64-linux",
112 "x86_64-linux-gnux32": "bit-32 ix86-common x32-linux", 104 "x86_64-linux-gnux32": "bit-32 ix86-common x32-linux",