]> Git Repo - qemu.git/commitdiff
Makefile: Let the 'help' target list the tools targets
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 5 Mar 2020 00:48:55 +0000 (01:48 +0100)
committerPaolo Bonzini <[email protected]>
Mon, 16 Mar 2020 22:02:24 +0000 (23:02 +0100)
List the name of the tool targets when calling 'make help':

  $ make help
  [...]
  Tools targets:
    qemu-ga                        - Build qemu-ga tool
    qemu-keymap                    - Build qemu-keymap tool
    elf2dmp                        - Build elf2dmp tool
    ivshmem-client                 - Build ivshmem-client tool
    ivshmem-server                 - Build ivshmem-server tool
    qemu-nbd                       - Build qemu-nbd tool
    qemu-img                       - Build qemu-img tool
    qemu-io                        - Build qemu-io tool
    qemu-edid                      - Build qemu-edid tool
    fsdev/virtfs-proxy-helper      - Build virtfs-proxy-helper tool
    scsi/qemu-pr-helper            - Build qemu-pr-helper tool

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Makefile

index 6ec19f81f907df65c9fd4141bca374b139aa12c4..25a7056723f4c8bd2d092a8bf32033c9f22fc66b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1255,6 +1255,11 @@ endif
                $(foreach t, $(TARGET_DIRS), \
                $(call print-help-run,$(t)/all,Build for $(t));) \
                echo '')
+       @$(if $(TOOLS), \
+               echo 'Tools targets:'; \
+               $(foreach t, $(TOOLS), \
+               $(call print-help-run,$(t),Build $(shell basename $(t)) tool);) \
+               echo '')
        @echo  'Cleaning targets:'
        $(call print-help,clean,Remove most generated files but keep the config)
 ifdef CONFIG_GCOV
This page took 0.028349 seconds and 4 git commands to generate.