Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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/20240315012249.439639-1-liucong2@kylinos.cn
Signed-off-by: Cong Liu <liucong2@kylinos.cn>
Acked-by: Stanislav Fomichev <sdf@google.com>
Reviewed-by: Dmitry Rokosov <ddrokosov@salutedevices.com>
Cc: Cong Liu <liucong2@kylinos.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Cong Liu and committed by
Andrew Morton
950bf45d d5d39c70

+6 -7
+6 -7
tools/Makefile
··· 11 11 @echo '' 12 12 @echo ' acpi - ACPI tools' 13 13 @echo ' bpf - misc BPF tools' 14 - @echo ' cgroup - cgroup tools' 15 14 @echo ' counter - counter tools' 16 15 @echo ' cpupower - a tool for all things x86 CPU power' 17 16 @echo ' debugging - tools for debugging' ··· 68 69 cpupower: FORCE 69 70 $(call descend,power/$@) 70 71 71 - cgroup counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci firmware debugging tracing: FORCE 72 + counter firewire hv guest bootconfig spi usb virtio mm bpf iio gpio objtool leds wmi pci firmware debugging tracing: FORCE 72 73 $(call descend,$@) 73 74 74 75 bpf/%: FORCE ··· 115 116 kvm_stat: FORCE 116 117 $(call descend,kvm/$@) 117 118 118 - all: acpi cgroup counter cpupower gpio hv firewire \ 119 + all: acpi counter cpupower gpio hv firewire \ 119 120 perf selftests bootconfig spi turbostat usb \ 120 121 virtio mm bpf x86_energy_perf_policy \ 121 122 tmon freefall iio objtool kvm_stat wmi \ ··· 127 128 cpupower_install: 128 129 $(call descend,power/$(@:_install=),install) 129 130 130 - 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: 131 + 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: 131 132 $(call descend,$(@:_install=),install) 132 133 133 134 selftests_install: ··· 154 155 kvm_stat_install: 155 156 $(call descend,kvm/$(@:_install=),install) 156 157 157 - install: acpi_install cgroup_install counter_install cpupower_install gpio_install \ 158 + install: acpi_install counter_install cpupower_install gpio_install \ 158 159 hv_install firewire_install iio_install \ 159 160 perf_install selftests_install turbostat_install usb_install \ 160 161 virtio_install mm_install bpf_install x86_energy_perf_policy_install \ ··· 168 169 cpupower_clean: 169 170 $(call descend,power/cpupower,clean) 170 171 171 - 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: 172 + 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: 172 173 $(call descend,$(@:_clean=),clean) 173 174 174 175 libapi_clean: ··· 208 209 build_clean: 209 210 $(call descend,build,clean) 210 211 211 - clean: acpi_clean cgroup_clean counter_clean cpupower_clean hv_clean firewire_clean \ 212 + clean: acpi_clean counter_clean cpupower_clean hv_clean firewire_clean \ 212 213 perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \ 213 214 mm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \ 214 215 freefall_clean build_clean libbpf_clean libsubcmd_clean \