@@ -175,10 +175,17 @@ def remove_transitive_deps(pkg, deps):
return new_d
+CUT_ON_PACKAGES = [
+ 'toolchain',
+ 'skeleton',
+ 'host-skeleton',
+]
+
+
# This function removes the dependency on some 'mandatory' package, like the
# 'toolchain' package, or the 'skeleton' package
def remove_mandatory_deps(pkg, deps):
- return [p for p in deps[pkg] if p not in ['toolchain', 'skeleton']]
+ return [p for p in deps[pkg] if p not in CUT_ON_PACKAGES]
# This function will check that there is no loop in the dependency chain
host-skeleton is a dependency of almost all packages, except a very few. As such, it clutters the dependency graph uselessly. Do with it as we do for the skeleton: cut the dependency chains. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- support/scripts/graph-depends | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)