From c5bb5a8238a1cc573ee0054004b518be10d7a5b3 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 8 Feb 2017 19:50:16 -0800 Subject: [PATCH] Fix "Nothing to be done" messages when launching soong_ui 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/main.mk b/core/main.mk index 6ec6e669e..cca0d214b 100644 --- a/core/main.mk +++ b/core/main.mk @@ -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