[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/6] Makefile: List fuzz targets in 'make help'
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 2/6] Makefile: List fuzz targets in 'make help' |
Date: |
Thu, 14 May 2020 16:34:29 +0200 |
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>
---
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.21.3
- [PATCH 0/6] tests/fuzz: Review notes, Philippe Mathieu-Daudé, 2020/05/14
- [PATCH 1/6] tests/fuzz/Makefile: Do not link code using unavailable devices, Philippe Mathieu-Daudé, 2020/05/14
- [PATCH 2/6] Makefile: List fuzz targets in 'make help',
Philippe Mathieu-Daudé <=
- [PATCH 3/6] tests/fuzz: Add missing space in test description, Philippe Mathieu-Daudé, 2020/05/14
- [PATCH 4/6] tests/fuzz: Remove unuseful/unused typedefs, Philippe Mathieu-Daudé, 2020/05/14
- [PATCH 5/6] tests/fuzz: Extract pciconfig_fuzz_qos() method, Philippe Mathieu-Daudé, 2020/05/14
- [PATCH 6/6] tests/fuzz: Extract ioport_fuzz_qtest() method, Philippe Mathieu-Daudé, 2020/05/14
- Re: [PATCH 0/6] tests/fuzz: Review notes, Stefan Hajnoczi, 2020/05/15
- Re: [PATCH 0/6] tests/fuzz: Review notes, Alexander Bulekov, 2020/05/15