Browse Source

buildorder.py: make subpackage pull its parent

emacs-27
Tom Yan 6 years ago
committed by Leonid Plyushch
parent
commit
873b10d788
  1. 7
      scripts/buildorder.py

7
scripts/buildorder.py

@ -120,10 +120,9 @@ class TermuxSubPackage:
self.name = os.path.basename(subpackage_file_path).split('.subpackage.sh')[0]
self.parent = parent
if virtual:
self.deps = set([parent.name])
else:
self.deps = parse_build_file_dependencies(subpackage_file_path)
self.deps = set([parent.name])
if not virtual:
self.deps |= parse_build_file_dependencies(subpackage_file_path)
self.dir = parent.dir
self.needed_by = set() # Populated outside constructor, reverse of deps.

Loading…
Cancel
Save