aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bristot de Oliveira <bristot@kernel.org>2024-03-12 19:35:37 +0100
committerDaniel Bristot de Oliveira <bristot@kernel.org>2024-03-14 19:05:54 +0100
commit6bff084e9c23e4d03a3cda7346b5bbc3455280ac (patch)
tree22160cbbb209caceaa8168fc3a3b1cb0bbd22f05
parent3539c790aa0f7b14e1d17f4e8a26e54192ef4766 (diff)
downloadlinux-tracing_makefiles_v1.8.tar.gz
tools/verification: Add verification to tools/Makefiletracing_makefiles_v1.8
tools/verification is not present as target of the tools/Makefile, So it is not possible to compile its tools using: linux/ $ make tools/verification like for other tools. For instance tools/tracing. Add tools/verification/Makefile and proper targets to tools/Makefile. Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
-rw-r--r--tools/Makefile16
-rw-r--r--tools/verification/Makefile20
2 files changed, 30 insertions, 6 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 37e9f680483264..c408d959a066cc 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -42,6 +42,7 @@ help:
@echo ' mm - misc mm tools'
@echo ' wmi - WMI interface examples'
@echo ' x86_energy_perf_policy - Intel energy policy tool'
+ @echo ' verification - misc verification tools'
@echo ''
@echo 'You can do:'
@echo ' $$ make -C tools/ <tool>_install'
@@ -69,7 +70,7 @@ acpi: FORCE
cpupower: FORCE
$(call descend,power/$@)
-cgroup counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci firmware debugging tracing: FORCE
+cgroup counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci firmware debugging tracing verification: FORCE
$(call descend,$@)
bpf/%: FORCE
@@ -120,7 +121,8 @@ all: acpi cgroup counter cpupower gpio hv firewire \
perf selftests bootconfig spi turbostat usb \
virtio mm bpf x86_energy_perf_policy \
tmon freefall iio objtool kvm_stat wmi \
- pci debugging tracing thermal thermometer thermal-engine
+ pci debugging tracing thermal thermometer thermal-engine \
+ verification
acpi_install:
$(call descend,power/$(@:_install=),install)
@@ -128,7 +130,7 @@ acpi_install:
cpupower_install:
$(call descend,power/$(@:_install=),install)
-cgroup_install counter_install firewire_install gpio_install hv_install iio_install perf_install bootconfig_install spi_install usb_install virtio_install mm_install bpf_install objtool_install wmi_install pci_install debugging_install tracing_install:
+cgroup_install counter_install firewire_install gpio_install hv_install iio_install perf_install bootconfig_install spi_install usb_install virtio_install mm_install bpf_install objtool_install wmi_install pci_install debugging_install tracing_install verification_install:
$(call descend,$(@:_install=),install)
selftests_install:
@@ -161,7 +163,8 @@ install: acpi_install cgroup_install counter_install cpupower_install gpio_insta
virtio_install mm_install bpf_install x86_energy_perf_policy_install \
tmon_install freefall_install objtool_install kvm_stat_install \
wmi_install pci_install debugging_install intel-speed-select_install \
- tracing_install thermometer_install thermal-engine_install
+ tracing_install thermometer_install thermal-engine_install \
+ verification_install
acpi_clean:
$(call descend,power/acpi,clean)
@@ -169,7 +172,7 @@ acpi_clean:
cpupower_clean:
$(call descend,power/cpupower,clean)
-cgroup_clean counter_clean hv_clean firewire_clean bootconfig_clean spi_clean usb_clean virtio_clean mm_clean wmi_clean bpf_clean iio_clean gpio_clean objtool_clean leds_clean pci_clean firmware_clean debugging_clean tracing_clean:
+cgroup_clean counter_clean hv_clean firewire_clean bootconfig_clean spi_clean usb_clean virtio_clean mm_clean wmi_clean bpf_clean iio_clean gpio_clean objtool_clean leds_clean pci_clean firmware_clean debugging_clean tracing_clean verification_clean:
$(call descend,$(@:_clean=),clean)
libapi_clean:
@@ -214,6 +217,7 @@ clean: acpi_clean cgroup_clean counter_clean cpupower_clean hv_clean firewire_cl
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
+ intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean \
+ verification_clean
.PHONY: FORCE
diff --git a/tools/verification/Makefile b/tools/verification/Makefile
new file mode 100644
index 00000000000000..e946bcc8b5dbd2
--- /dev/null
+++ b/tools/verification/Makefile
@@ -0,0 +1,20 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+include ../scripts/Makefile.include
+
+all: rv
+
+clean: rv_clean
+
+install: rv_install
+
+rv:
+ $(call descend,rv)
+
+rv_install:
+ $(call descend,rv,install)
+
+rv_clean:
+ $(call descend,rv,clean)
+
+.PHONY: all install clean rv rv_install rv_clean