summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
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