[oe-commits] [openembedded-core] 12/19: base.bbclass: drop legacy armv7a-vfp-neon TUNE_PKGARCH renaming

git at git.openembedded.org git at git.openembedded.org
Thu Jan 11 23:24:12 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 1ff441fbc43a76eb8ed49ef48ebbc555e276724c
Author: Andre McCurdy <armccurdy at gmail.com>
AuthorDate: Tue Jan 9 21:17:24 2018 -0800

    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
    
    Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/base.bbclass | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 1a32720..6fe6114 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list