mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
build.py: Fix multiple modules and clean target
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
ee4c848b47
commit
ec6eaec5ec
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ def build(modules, order, target):
|
||||||
if target in ["clean", "distclean"]:
|
if target in ["clean", "distclean"]:
|
||||||
for m in reversed(order):
|
for m in reversed(order):
|
||||||
run_make(m, target)
|
run_make(m, target)
|
||||||
modules.remove(m)
|
if m in modules:
|
||||||
|
modules.remove(m)
|
||||||
if not len(modules):
|
if not len(modules):
|
||||||
print "all modules cleaned"
|
print "all modules cleaned"
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue