buildorder.py: Better error message

This commit is contained in:
Fredrik Fornwall 2017-01-08 07:37:43 -05:00
parent c9379a3ed8
commit e65ab762d3

View File

@ -218,6 +218,8 @@ def generate_targets_buildorder(targetnames):
buildorder = []
for pkgname in targetnames:
if not pkgname in pkgs_map:
die('Dependencies for ' + pkgname + ' could not be calculated (skip dependency check with -s)')
buildorder += deps_then_me(pkgs_map[pkgname])
return unique_everseen(buildorder)