OSDN Git Service

Fix "Nothing to be done" messages when launching soong_ui
authorDan Willemsen <dwillemsen@google.com>
Thu, 9 Feb 2017 03:50:16 +0000 (19:50 -0800)
committerDan Willemsen <dwillemsen@google.com>
Thu, 9 Feb 2017 03:50:16 +0000 (19:50 -0800)
When specifying multiple arguments to make, we were getting messages
about nothing to be done:

m -j USE_SOONG_UI=true checkbuild tests cts blueprint_tools
...
make: Nothing to be done for `tests'.
make: Nothing to be done for `cts'.
make: Nothing to be done for `blueprint_tools'.

Test: m -j USE_SOONG_UI=true blueprint_tools libc adb
Change-Id: Id448bf0e09736fcd92ba058aec7ce556f6f778a3

core/main.mk

index 6ec6e66..cca0d21 100644 (file)
@@ -24,7 +24,8 @@ run_soong_ui:
        +@prebuilts/build-tools/$(host_prebuilts)/bin/makeparallel --ninja build/soong/soong_ui.bash --make-mode $(MAKECMDGOALS)
 
 .PHONY: $(MAKECMDGOALS)
-$(MAKECMDGOALS) : run_soong_ui
+$(sort $(MAKECMDGOALS)) : run_soong_ui
+       @#empty
 
 else # USE_SOONG_UI