summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2018-01-09 21:17:24 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-13 10:15:20 +0000
commit746a534e1e49d09495bafcb91a7deb8b24c417af (patch)
treeac8050c8e5f3c0f5205bac4c3103dc7c2e78bb95 /meta/classes
parent52c25b03ec3845173ff1b5d1e3dfdb3b806e1136 (diff)
downloadpoky-746a534e1e49d09495bafcb91a7deb8b24c417af.tar.gz
base.bbclass: drop legacy armv7a-vfp-neon TUNE_PKGARCH renaming
ARM specific TUNE_PKGARCH renaming was adding in 2011 handle the transition from armv7a -> armv7a-vfp-neon: http://git.openembedded.org/openembedded-core/commit/?id=08c0b7060009113e8dffdef51ff6b9b4b7f28894 Active package feeds should now have long since updated to the new naming. For example, Angstrom stopped using on the legacy naming in 2012: https://github.com/Angstrom-distribution/meta-angstrom/commit/2e33fb5bd08edda6457dd211f4ff4ec4aad9d85d (From OE-Core rev: 0341a3c44e511d3246096edd3009432805e57b89) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/base.bbclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 1a3272052c..6fe611489f 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -170,12 +170,6 @@ python base_do_unpack() {
170 bb.fatal(str(e)) 170 bb.fatal(str(e))
171} 171}
172 172
173def pkgarch_mapping(d):
174 # Compatibility mappings of TUNE_PKGARCH (opt in)
175 if d.getVar("PKGARCHCOMPAT_ARMV7A"):
176 if d.getVar("TUNE_PKGARCH") == "armv7a-vfp-neon":
177 d.setVar("TUNE_PKGARCH", "armv7a")
178
179def get_layers_branch_rev(d): 173def get_layers_branch_rev(d):
180 layers = (d.getVar("BBLAYERS") or "").split() 174 layers = (d.getVar("BBLAYERS") or "").split()
181 layers_branch_rev = ["%-20s = \"%s:%s\"" % (os.path.basename(i), \ 175 layers_branch_rev = ["%-20s = \"%s:%s\"" % (os.path.basename(i), \
@@ -228,7 +222,6 @@ python base_eventhandler() {
228 if not d.getVar("NATIVELSBSTRING", False): 222 if not d.getVar("NATIVELSBSTRING", False):
229 d.setVar("NATIVELSBSTRING", lsb_distro_identifier(d)) 223 d.setVar("NATIVELSBSTRING", lsb_distro_identifier(d))
230 d.setVar('BB_VERSION', bb.__version__) 224 d.setVar('BB_VERSION', bb.__version__)
231 pkgarch_mapping(d)
232 oe.utils.features_backfill("DISTRO_FEATURES", d) 225 oe.utils.features_backfill("DISTRO_FEATURES", d)
233 oe.utils.features_backfill("MACHINE_FEATURES", d) 226 oe.utils.features_backfill("MACHINE_FEATURES", d)
234 # Works with the line in layer.conf which changes PATH to point here 227 # Works with the line in layer.conf which changes PATH to point here