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

tools/Makefile: Remove pci target

e19bde2269ca ("selftests: Move PCI Endpoint tests from tools/pci to
Kselftests") moves tools/pci/ to tools/testing/selftests/pci_endpoint,
which causes build failure when running "make pci" under tools:

linux/tools$ make pci
DESCEND pci
make[1]: *** No targets specified and no makefile found. Stop.
make: *** [Makefile:73: pci] Error 2

Update the top level tools/Makefile to remove reference to building,
installing and cleaning pci components.

Link: https://lore.kernel.org/r/20250217115159.537920-1-liujianfeng1994@gmail.com
Fixes: e19bde2269ca ("selftests: Move PCI Endpoint tests from tools/pci to Kselftests")
Signed-off-by: Jianfeng Liu <liujianfeng1994@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>

authored by

Jianfeng Liu and committed by
Krzysztof Wilczyński
86c2345a 2014c95a

+6 -7
+6 -7
tools/Makefile
··· 25 25 @echo ' leds - LEDs tools' 26 26 @echo ' nolibc - nolibc headers testing and installation' 27 27 @echo ' objtool - an ELF object analysis tool' 28 - @echo ' pci - PCI tools' 29 28 @echo ' perf - Linux performance measurement and analysis tool' 30 29 @echo ' selftests - various kernel selftests' 31 30 @echo ' sched_ext - sched_ext example schedulers' ··· 68 69 cpupower: FORCE 69 70 $(call descend,power/$@) 70 71 71 - 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 firmware debugging tracing: FORCE 72 73 $(call descend,$@) 73 74 74 75 bpf/%: FORCE ··· 122 123 perf selftests bootconfig spi turbostat usb \ 123 124 virtio mm bpf x86_energy_perf_policy \ 124 125 tmon freefall iio objtool kvm_stat wmi \ 125 - pci debugging tracing thermal thermometer thermal-engine 126 + debugging tracing thermal thermometer thermal-engine 126 127 127 128 acpi_install: 128 129 $(call descend,power/$(@:_install=),install) ··· 130 131 cpupower_install: 131 132 $(call descend,power/$(@:_install=),install) 132 133 133 - 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: 134 + 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 debugging_install tracing_install: 134 135 $(call descend,$(@:_install=),install) 135 136 136 137 selftests_install: ··· 162 163 perf_install selftests_install turbostat_install usb_install \ 163 164 virtio_install mm_install bpf_install x86_energy_perf_policy_install \ 164 165 tmon_install freefall_install objtool_install kvm_stat_install \ 165 - wmi_install pci_install debugging_install intel-speed-select_install \ 166 + wmi_install debugging_install intel-speed-select_install \ 166 167 tracing_install thermometer_install thermal-engine_install 167 168 168 169 acpi_clean: ··· 171 172 cpupower_clean: 172 173 $(call descend,power/cpupower,clean) 173 174 174 - 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: 175 + 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 firmware_clean debugging_clean tracing_clean: 175 176 $(call descend,$(@:_clean=),clean) 176 177 177 178 libapi_clean: ··· 218 219 perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \ 219 220 mm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \ 220 221 freefall_clean build_clean libbpf_clean libsubcmd_clean \ 221 - gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \ 222 + gpio_clean objtool_clean leds_clean wmi_clean firmware_clean debugging_clean \ 222 223 intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean \ 223 224 sched_ext_clean 224 225