[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 2/8] Makefile: List fuzz targets in 'make help'
From: |
Stefan Hajnoczi |
Subject: |
[PULL 2/8] Makefile: List fuzz targets in 'make help' |
Date: |
Tue, 19 May 2020 09:00:48 +0100 |
From: Philippe Mathieu-Daudé <address@hidden>
List softmmu fuzz targets in 'make help' output:
$ make help
...
Architecture specific targets:
aarch64-softmmu/all - Build for aarch64-softmmu
aarch64-softmmu/fuzz - Build fuzzer for aarch64-softmmu
alpha-softmmu/all - Build for alpha-softmmu
alpha-softmmu/fuzz - Build fuzzer for alpha-softmmu
arm-softmmu/all - Build for arm-softmmu
arm-softmmu/fuzz - Build fuzzer for arm-softmmu
...
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 34275f57c9..40e4f7677b 100644
--- a/Makefile
+++ b/Makefile
@@ -1252,7 +1252,11 @@ endif
@$(if $(TARGET_DIRS), \
echo 'Architecture specific targets:'; \
$(foreach t, $(TARGET_DIRS), \
- $(call print-help-run,$(t)/all,Build for $(t));) \
+ $(call print-help-run,$(t)/all,Build for $(t)); \
+ $(if $(CONFIG_FUZZ), \
+ $(if $(findstring softmmu,$(t)), \
+ $(call print-help-run,$(t)/fuzz,Build fuzzer
for $(t)); \
+ ))) \
echo '')
@$(if $(TOOLS), \
echo 'Tools targets:'; \
--
2.25.3
- [PULL 0/8] Block patches, Stefan Hajnoczi, 2020/05/19
- [PULL 1/8] tests/fuzz/Makefile: Do not link code using unavailable devices, Stefan Hajnoczi, 2020/05/19
- [PULL 2/8] Makefile: List fuzz targets in 'make help',
Stefan Hajnoczi <=
- [PULL 3/8] tests/fuzz: Add missing space in test description, Stefan Hajnoczi, 2020/05/19
- [PULL 4/8] tests/fuzz: Remove unuseful/unused typedefs, Stefan Hajnoczi, 2020/05/19
- [PULL 5/8] tests/fuzz: Extract pciconfig_fuzz_qos() method, Stefan Hajnoczi, 2020/05/19
- [PULL 6/8] tests/fuzz: Extract ioport_fuzz_qtest() method, Stefan Hajnoczi, 2020/05/19
- [PULL 7/8] aio-posix: don't duplicate fd handler deletion in fdmon_io_uring_destroy(), Stefan Hajnoczi, 2020/05/19
- [PULL 8/8] aio-posix: disable fdmon-io_uring when GSource is used, Stefan Hajnoczi, 2020/05/19
- Re: [PULL 0/8] Block patches, Peter Maydell, 2020/05/19