mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
build.py: Add target order
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
059977f47d
commit
014e0d6778
1 changed files with 6 additions and 1 deletions
|
|
@ -113,10 +113,15 @@ if len(env_exclude):
|
|||
exclude += " " + env_exclude
|
||||
|
||||
# -- build
|
||||
print "calculating order for modules: " + ' '.join(modules)
|
||||
if target != 'order':
|
||||
print "calculating order for modules: " + ' '.join(modules)
|
||||
order = []
|
||||
calculate_order(order, modules, glob_prereq_type)
|
||||
order = [m for m in order if m not in exclude]
|
||||
if target == 'order':
|
||||
print ' '.join(order)
|
||||
exit(0)
|
||||
|
||||
print "order is: " + ' '.join(order)
|
||||
build(modules, order, target)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue