summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass9
1 files changed, 1 insertions, 8 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index c4f437bde5..a45fe1eac2 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -702,19 +702,12 @@ def setscene_depvalid(task, taskdependees, notneeded, d):
702 702
703 def isNativeCross(x): 703 def isNativeCross(x):
704 return x.endswith("-native") or x.endswith("-cross") or x.endswith("-cross-initial") or x.endswith("-crosssdk") or x.endswith("-crosssdk-initial") 704 return x.endswith("-native") or x.endswith("-cross") or x.endswith("-cross-initial") or x.endswith("-crosssdk") or x.endswith("-crosssdk-initial")
705 def isSafeDep(x): 705
706 if x in ["quilt-native", "autoconf-native", "automake-native", "gnu-config-native", "libtool-native", "pkgconfig-native", "gcc-cross", "binutils-cross", "gcc-cross-initial", "gcc-crosssdk", "binutils-crosssdk", "gcc-crosssdk-initial"]:
707 return True
708 return False
709 def isPostInstDep(x): 706 def isPostInstDep(x):
710 if x in ["qemu-native", "gdk-pixbuf-native", "qemuwrapper-cross", "depmodwrapper-cross", "systemd-systemctl-native", "gtk-update-icon-cache-native"]: 707 if x in ["qemu-native", "gdk-pixbuf-native", "qemuwrapper-cross", "depmodwrapper-cross", "systemd-systemctl-native", "gtk-update-icon-cache-native"]:
711 return True 708 return True
712 return False 709 return False
713 710
714 # We can skip these "safe" dependencies since the aren't runtime dependencies, just build time
715 if isSafeDep(taskdependees[task][0]) and taskdependees[task][1] == "do_populate_sysroot":
716 return True
717
718 # We only need to trigger populate_lic through direct dependencies 711 # We only need to trigger populate_lic through direct dependencies
719 if taskdependees[task][1] == "do_populate_lic": 712 if taskdependees[task][1] == "do_populate_lic":
720 return True 713 return True