Skip to content

Commit a101482

Browse files
sjp38akpm00
authored andcommitted
tools/Makefile: do missed s/vm/mm/
Commit 799fb82 ("tools/vm: rename tools/vm to tools/mm") missed renaming 'vm' in 'tools/Makefile' to 'mm'. As a result, 'make clean' under 'tools/' directory fails as below: $ make -C tools clean DESCEND vm make[1]: Entering directory '/linux/tools/vm' make[1]: *** No rule to make target 'clean'. Stop. make[1]: Leaving directory '/linux/tools/vm' make: *** [Makefile:173: vm_clean] Error 2 make: Leaving directory '/linux/tools' Do the missed rename. Link: https://lkml.kernel.org/r/[email protected] Fixes: 799fb82 ("tools/vm: rename tools/vm to tools/mm") Signed-off-by: SeongJae Park <[email protected]> Reported-by: Ricardo Pardini <[email protected]> Link: https://lore.kernel.org/linux-mm/[email protected]/ Tested-by: Ricardo Pardini <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent b20b036 commit a101482

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tools/Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ help:
3939
@echo ' turbostat - Intel CPU idle stats and freq reporting tool'
4040
@echo ' usb - USB testing tools'
4141
@echo ' virtio - vhost test module'
42-
@echo ' vm - misc vm tools'
42+
@echo ' mm - misc mm tools'
4343
@echo ' wmi - WMI interface examples'
4444
@echo ' x86_energy_perf_policy - Intel energy policy tool'
4545
@echo ''
@@ -69,7 +69,7 @@ acpi: FORCE
6969
cpupower: FORCE
7070
$(call descend,power/$@)
7171

72-
cgroup counter firewire hv guest bootconfig spi usb virtio vm bpf iio gpio objtool leds wmi pci firmware debugging tracing: FORCE
72+
cgroup counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci firmware debugging tracing: FORCE
7373
$(call descend,$@)
7474

7575
bpf/%: FORCE
@@ -118,7 +118,7 @@ kvm_stat: FORCE
118118

119119
all: acpi cgroup counter cpupower gpio hv firewire \
120120
perf selftests bootconfig spi turbostat usb \
121-
virtio vm bpf x86_energy_perf_policy \
121+
virtio mm bpf x86_energy_perf_policy \
122122
tmon freefall iio objtool kvm_stat wmi \
123123
pci debugging tracing thermal thermometer thermal-engine
124124

@@ -128,7 +128,7 @@ acpi_install:
128128
cpupower_install:
129129
$(call descend,power/$(@:_install=),install)
130130

131-
cgroup_install counter_install firewire_install gpio_install hv_install iio_install perf_install bootconfig_install spi_install usb_install virtio_install vm_install bpf_install objtool_install wmi_install pci_install debugging_install tracing_install:
131+
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:
132132
$(call descend,$(@:_install=),install)
133133

134134
selftests_install:
@@ -158,7 +158,7 @@ kvm_stat_install:
158158
install: acpi_install cgroup_install counter_install cpupower_install gpio_install \
159159
hv_install firewire_install iio_install \
160160
perf_install selftests_install turbostat_install usb_install \
161-
virtio_install vm_install bpf_install x86_energy_perf_policy_install \
161+
virtio_install mm_install bpf_install x86_energy_perf_policy_install \
162162
tmon_install freefall_install objtool_install kvm_stat_install \
163163
wmi_install pci_install debugging_install intel-speed-select_install \
164164
tracing_install thermometer_install thermal-engine_install
@@ -169,7 +169,7 @@ acpi_clean:
169169
cpupower_clean:
170170
$(call descend,power/cpupower,clean)
171171

172-
cgroup_clean counter_clean hv_clean firewire_clean bootconfig_clean spi_clean usb_clean virtio_clean vm_clean wmi_clean bpf_clean iio_clean gpio_clean objtool_clean leds_clean pci_clean firmware_clean debugging_clean tracing_clean:
172+
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:
173173
$(call descend,$(@:_clean=),clean)
174174

175175
libapi_clean:
@@ -211,7 +211,7 @@ build_clean:
211211

212212
clean: acpi_clean cgroup_clean counter_clean cpupower_clean hv_clean firewire_clean \
213213
perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \
214-
vm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
214+
mm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
215215
freefall_clean build_clean libbpf_clean libsubcmd_clean \
216216
gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \
217217
intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean

0 commit comments

Comments
 (0)