[PATCH] tools/Makefile: Add kvm_stat_clean target.
From: zhangjiao2
Date: Wed Sep 11 2024 - 22:37:53 EST
From: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
Run make kvm_stat can create kvm_stat.1 file.
Add kvm_stat_clean for rm it.
Signed-off-by: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
---
tools/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tools/Makefile b/tools/Makefile
index 278d24723b74..97de2514f967 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -215,12 +215,15 @@ freefall_clean:
build_clean:
$(call descend,build,clean)
+kvm_stat_clean:
+ $(call descend,kvm/kvm_stat,clean)
+
clean: acpi_clean counter_clean cpupower_clean hv_clean firewire_clean \
perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \
mm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
freefall_clean build_clean libbpf_clean libsubcmd_clean \
gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \
intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean \
- sched_ext_clean
+ sched_ext_clean kvm_stat_clean
.PHONY: FORCE
--
2.33.0