summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-01-02 07:08:53 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-02 19:00:04 +0100
commit1063539c536662f95a0bb14b70b2db7396602564 (patch)
treefd1dfe4023267f192e6f947023c29518350c61bb
parent58cd46aa0489f1449b28806d876e46101f7b9ca9 (diff)
downloadbuildroot-novena-1063539c536662f95a0bb14b70b2db7396602564.tar.gz
buildroot-novena-1063539c536662f95a0bb14b70b2db7396602564.zip
graph-depends: remove support for "unknown" packages
The "unknown" packages mechanism was used to render packages that did not implement the make <pkg>-show-depends target, i.e the packages that were not yet converted to one of the package infrastructures. Since now all packages have been converted, we can remove this "unknown" packages feature. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rwxr-xr-xsupport/scripts/graph-depends13
1 files changed, 1 insertions, 12 deletions
diff --git a/support/scripts/graph-depends b/support/scripts/graph-depends
index 0658b777a..556f11d26 100755
--- a/support/scripts/graph-depends
+++ b/support/scripts/graph-depends
@@ -41,7 +41,6 @@ else:
sys.exit(1)
allpkgs = []
-unknownpkgs = []
# Execute the "make show-targets" command to get the list of the main
# Buildroot TARGETS and return it formatted as a Python list. This
@@ -109,14 +108,6 @@ def get_all_depends(pkgs):
for pkg in filtered_pkgs:
pkg_deps = depends[pkg]
- # We couldn't get the dependencies of this package, because it
- # doesn't use the generic or autotools infrastructure. Add it to
- # unknownpkgs so that it is later rendered in red color to warn
- # the user.
- if pkg_deps == None:
- unknownpkgs.append(pkg)
- continue
-
# This package has no dependency.
if pkg_deps == []:
continue
@@ -219,9 +210,7 @@ for pkg in allpkgs:
print "%s [label = \"%s\"]" % (pkg_node_name(pkg), pkg)
- if pkg in unknownpkgs:
- print "%s [color=red,style=filled]" % pkg_node_name(pkg)
- elif mode == PKG_MODE and pkg == rootpkg:
+ if mode == PKG_MODE and pkg == rootpkg:
print "%s [color=lightblue,style=filled]" % pkg_node_name(rootpkg)
else:
print "%s [color=grey,style=filled]" % pkg_node_name(pkg)