Skip to content

Commit 86c2345

Browse files
amazingfatekwilczynski
authored andcommitted
tools/Makefile: Remove pci target
e19bde2 ("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/[email protected] Fixes: e19bde2 ("selftests: Move PCI Endpoint tests from tools/pci to Kselftests") Signed-off-by: Jianfeng Liu <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]>
1 parent 2014c95 commit 86c2345

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
@@ -25,7 +25,6 @@ help:
2525
@echo ' leds - LEDs tools'
2626
@echo ' nolibc - nolibc headers testing and installation'
2727
@echo ' objtool - an ELF object analysis tool'
28-
@echo ' pci - PCI tools'
2928
@echo ' perf - Linux performance measurement and analysis tool'
3029
@echo ' selftests - various kernel selftests'
3130
@echo ' sched_ext - sched_ext example schedulers'
@@ -69,7 +68,7 @@ acpi: FORCE
6968
cpupower: FORCE
7069
$(call descend,power/$@)
7170

72-
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 firmware debugging tracing: FORCE
7372
$(call descend,$@)
7473

7574
bpf/%: FORCE
@@ -123,15 +122,15 @@ all: acpi counter cpupower gpio hv firewire \
123122
perf selftests bootconfig spi turbostat usb \
124123
virtio mm bpf x86_energy_perf_policy \
125124
tmon freefall iio objtool kvm_stat wmi \
126-
pci debugging tracing thermal thermometer thermal-engine
125+
debugging tracing thermal thermometer thermal-engine
127126

128127
acpi_install:
129128
$(call descend,power/$(@:_install=),install)
130129

131130
cpupower_install:
132131
$(call descend,power/$(@:_install=),install)
133132

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 pci_install debugging_install tracing_install:
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 debugging_install tracing_install:
135134
$(call descend,$(@:_install=),install)
136135

137136
selftests_install:
@@ -163,7 +162,7 @@ install: acpi_install counter_install cpupower_install gpio_install \
163162
perf_install selftests_install turbostat_install usb_install \
164163
virtio_install mm_install bpf_install x86_energy_perf_policy_install \
165164
tmon_install freefall_install objtool_install kvm_stat_install \
166-
wmi_install pci_install debugging_install intel-speed-select_install \
165+
wmi_install debugging_install intel-speed-select_install \
167166
tracing_install thermometer_install thermal-engine_install
168167

169168
acpi_clean:
@@ -172,7 +171,7 @@ acpi_clean:
172171
cpupower_clean:
173172
$(call descend,power/cpupower,clean)
174173

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 pci_clean firmware_clean debugging_clean tracing_clean:
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 firmware_clean debugging_clean tracing_clean:
176175
$(call descend,$(@:_clean=),clean)
177176

178177
libapi_clean:
@@ -219,7 +218,7 @@ clean: acpi_clean counter_clean cpupower_clean hv_clean firewire_clean \
219218
perf_clean selftests_clean turbostat_clean bootconfig_clean spi_clean usb_clean virtio_clean \
220219
mm_clean bpf_clean iio_clean x86_energy_perf_policy_clean tmon_clean \
221220
freefall_clean build_clean libbpf_clean libsubcmd_clean \
222-
gpio_clean objtool_clean leds_clean wmi_clean pci_clean firmware_clean debugging_clean \
221+
gpio_clean objtool_clean leds_clean wmi_clean firmware_clean debugging_clean \
223222
intel-speed-select_clean tracing_clean thermal_clean thermometer_clean thermal-engine_clean \
224223
sched_ext_clean
225224

0 commit comments

Comments
 (0)