Received: from eggs.gnu.org ([2001:4830:134:3::10]:55623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZt4m-0006hT-Ec for qemu-devel@nongnu.org; Tue, 25 Jul 2017 02:12:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZt4j-0000nu-9e for qemu-devel@nongnu.org; Tue, 25 Jul 2017 02:12:12 -0400 Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Tue, 25 Jul 2017 03:11:58 -0300 Message-Id: <20170725061158.10745-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH] Makefile: add all-user/all-linux-user/all-softmmu meta-targets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Markus Armbruster , Stefan Hajnoczi , Paolo Bonzini , Peter Maydell Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, qemu-trivial@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng Useful to build a whole set at once. Signed-off-by: Philippe Mathieu-Daudé --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5f18243d05..da899522e4 100644 --- a/Makefile +++ b/Makefile @@ -814,6 +814,11 @@ endif # Dependencies in Makefile.objs files come from our recursive subdir rules -include $(wildcard *.d tests/*.d) +.PHONY: subdir-all-user subdir-all-linux-user subdir-all-softmmu +subdir-all-user: $(patsubst %,subdir-%,$(filter %-user,$(TARGET_DIRS))) +subdir-all-linux-user: $(patsubst %,subdir-%,$(filter %-linux-user,$(TARGET_DIRS))) +subdir-all-softmmu: $(patsubst %,subdir-%,$(filter %-softmmu,$(TARGET_DIRS))) + include $(SRC_PATH)/tests/docker/Makefile.include .PHONY: help @@ -827,7 +832,7 @@ help: @echo '' @$(if $(TARGET_DIRS), \ echo 'Architecture specific targets:'; \ - $(foreach t, $(TARGET_DIRS), \ + $(foreach t, $(TARGET_DIRS) all-user all-linux-user all-softmmu, \ printf " %-30s - Build for %s\\n" $(patsubst %,subdir-%,$(t)) $(t);) \ echo '') @echo 'Cleaning targets:' -- 2.13.3