Skip to content

Commit 950bf45

Browse files
Cong Liuakpm00
authored andcommitted
tools/Makefile: remove cgroup target
The tools/cgroup directory no longer contains a Makefile. This patch updates the top-level tools/Makefile to remove references to building and installing cgroup components. This change reflects the current structure of the tools directory and fixes the build failure when building tools in the top-level directory. linux/tools$ make cgroup DESCEND cgroup make[1]: *** No targets specified and no makefile found. Stop. make: *** [Makefile:73: cgroup] Error 2 Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Cong Liu <[email protected]> Acked-by: Stanislav Fomichev <[email protected]> Reviewed-by: Dmitry Rokosov <[email protected]> Cc: Cong Liu <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent d5d39c7 commit 950bf45

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tools/Makefile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ help:
1111
@echo ''
1212
@echo ' acpi - ACPI tools'
1313
@echo ' bpf - misc BPF tools'
14-
@echo ' cgroup - cgroup tools'
1514
@echo ' counter - counter tools'
1615
@echo ' cpupower - a tool for all things x86 CPU power'
1716
@echo ' debugging - tools for debugging'
@@ -69,7 +68,7 @@ acpi: FORCE
6968
cpupower: FORCE
7069
$(call descend,power/$@)
7170

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

7574
bpf/%: FORCE
@@ -116,7 +115,7 @@ freefall: FORCE
116115
kvm_stat: FORCE
117116
$(call descend,kvm/$@)
118117

119-
all: acpi cgroup counter cpupower gpio hv firewire \
118+
all: acpi counter cpupower gpio hv firewire \
120119
perf selftests bootconfig spi turbostat usb \
121120
virtio mm bpf x86_energy_perf_policy \
122121
tmon freefall iio objtool kvm_stat wmi \
@@ -128,7 +127,7 @@ acpi_install:
128127
cpupower_install:
129128
$(call descend,power/$(@:_install=),install)
130129

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:
130+
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:
132131
$(call descend,$(@:_install=),install)
133132

134133
selftests_install:
@@ -155,7 +154,7 @@ freefall_install:
155154
kvm_stat_install:
156155
$(call descend,kvm/$(@:_install=),install)
157156

158-
install: acpi_install cgroup_install counter_install cpupower_install gpio_install \
157+
install: acpi_install counter_install cpupower_install gpio_install \
159158
hv_install firewire_install iio_install \
160159
perf_install selftests_install turbostat_install usb_install \
161160
virtio_install mm_install bpf_install x86_energy_perf_policy_install \
@@ -169,7 +168,7 @@ acpi_clean:
169168
cpupower_clean:
170169
$(call descend,power/cpupower,clean)
171170

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:
171+
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:
173172
$(call descend,$(@:_clean=),clean)
174173

175174
libapi_clean:
@@ -209,7 +208,7 @@ freefall_clean:
209208
build_clean:
210209
$(call descend,build,clean)
211210

212-
clean: acpi_clean cgroup_clean counter_clean cpupower_clean hv_clean firewire_clean \
211+
clean: acpi_clean counter_clean cpupower_clean hv_clean firewire_clean \
213212
perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \
214213
mm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
215214
freefall_clean build_clean libbpf_clean libsubcmd_clean \

0 commit comments

Comments
 (0)