summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/base.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes-global/base.bbclass')
-rw-r--r--meta/classes-global/base.bbclass18
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/classes-global/base.bbclass b/meta/classes-global/base.bbclass
index 3d623c80a9..dbbf6cef8c 100644
--- a/meta/classes-global/base.bbclass
+++ b/meta/classes-global/base.bbclass
@@ -542,24 +542,6 @@ python () {
542 d.setVarFlag('do_devshell', 'fakeroot', '1') 542 d.setVarFlag('do_devshell', 'fakeroot', '1')
543 d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') 543 d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot')
544 544
545 # Horrible duplication with allarch as we need to set this before expanding DEPENDS below.
546 if d.getVar("PACKAGE_ARCH") == "all":
547 d.setVar("INHIBIT_DEFAULT_DEPS", "1")
548
549 # Handle recipe level PREFERRED_PROVIDERs
550 depends = (d.getVar("DEPENDS") or "").split()
551 virtprovs = (d.getVar("RECIPE_VIRTUAL_PROVIDERS") or "").split()
552 newdeps = []
553 for dep in depends:
554 if dep in virtprovs:
555 newdep = d.getVar("PREFERRED_PROVIDER_" + dep)
556 if not newdep:
557 bb.fatal("Error, recipe virtual provider PREFERRED_PROVIDER_%s not set" % dep)
558 newdeps.append(newdep)
559 else:
560 newdeps.append(dep)
561 d.setVar("DEPENDS", " ".join(newdeps))
562
563 need_machine = d.getVar('COMPATIBLE_MACHINE') 545 need_machine = d.getVar('COMPATIBLE_MACHINE')
564 if need_machine and not bb.utils.to_boolean(d.getVar('PARSE_ALL_RECIPES', False)): 546 if need_machine and not bb.utils.to_boolean(d.getVar('PARSE_ALL_RECIPES', False)):
565 import re 547 import re