mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
tool/run: skip build if build-target list is empty
This patch prevents the run tool from issuing 'make' in the build directory if no build targets are specified, which prompts the build system to build everything.
This commit is contained in:
committed by
Christian Helmuth
parent
410cd9cfc4
commit
93d431a831
@@ -44,6 +44,8 @@ proc assert_spec {spec} {
|
|||||||
#
|
#
|
||||||
proc build {targets} {
|
proc build {targets} {
|
||||||
|
|
||||||
|
if {[llength $targets] == 0} return
|
||||||
|
|
||||||
if {[get_cmd_switch --skip-build]} return
|
if {[get_cmd_switch --skip-build]} return
|
||||||
|
|
||||||
regsub -all {\s\s+} $targets " " targets
|
regsub -all {\s\s+} $targets " " targets
|
||||||
|
|||||||
Reference in New Issue
Block a user