Skip to contentSkip to conversation

base.bbclass: drop legacy armv7a-vfp-neon TUNE_PKGARCH renaming

PATCH New Andre McCurdy 1 participant 1 message Jan 10, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 meta/classes/base.bbclass | 7 -------
 1 file changed, 7 deletions(-)
meta/classes/base.bbclass +0 -7
index 1a32720..6fe6114 100644
@@ -170,12 +170,6 @@ python base_do_unpack() {
         bb.fatal(str(e))
 }
 
-def pkgarch_mapping(d):
-    # Compatibility mappings of TUNE_PKGARCH (opt in)
-    if d.getVar("PKGARCHCOMPAT_ARMV7A"):
-        if d.getVar("TUNE_PKGARCH") == "armv7a-vfp-neon":
-            d.setVar("TUNE_PKGARCH", "armv7a")
-
 def get_layers_branch_rev(d):
     layers = (d.getVar("BBLAYERS") or "").split()
     layers_branch_rev = ["%-20s = \"%s:%s\"" % (os.path.basename(i), \
@@ -228,7 +222,6 @@ python base_eventhandler() {
         if not d.getVar("NATIVELSBSTRING", False):
             d.setVar("NATIVELSBSTRING", lsb_distro_identifier(d))
         d.setVar('BB_VERSION', bb.__version__)
-        pkgarch_mapping(d)
         oe.utils.features_backfill("DISTRO_FEATURES", d)
         oe.utils.features_backfill("MACHINE_FEATURES", d)
         # Works with the line in layer.conf which changes PATH to point here
Signature · 1 line
1.9.1