mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
libpci: drop support for pciutils < 2.2.0
This version was released in september 2005 and had a breaking api change. Drop it so that we don't need to maintain the old codepath any longer. Beside that, we have already a second codepath which is using the new `pci_get_dev` variant exclusively. Change-Id: If943db350b561a005d8292a53d9255223db3d571 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/73293 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:

committed by
Thomas Heijligen

parent
c433910718
commit
0e4d4eac78
2
Makefile
2
Makefile
@ -251,7 +251,6 @@ HAS_LIBJAYLINK := $(call find_dependency, libjaylink)
|
||||
HAS_LIBUSB1 := $(call find_dependency, libusb-1.0)
|
||||
HAS_LIBPCI := $(call find_dependency, libpci)
|
||||
|
||||
HAS_PCI_OLD_GET_DEV := $(call c_compile_test, Makefile.d/pci_old_get_dev_test.c, $(CONFIG_LIBPCI_CFLAGS))
|
||||
HAS_FT232H := $(call c_compile_test, Makefile.d/ft232h_test.c, $(CONFIG_LIBFTDI1_CFLAGS))
|
||||
HAS_UTSNAME := $(call c_compile_test, Makefile.d/utsname_test.c)
|
||||
HAS_CLOCK_GETTIME := $(call c_compile_test, Makefile.d/clock_gettime_test.c)
|
||||
@ -981,7 +980,6 @@ config:
|
||||
@if [ $(ENDIAN) = unknown ]; then echo Aborting.; exit 1; fi
|
||||
@echo Dependency libpci found: $(HAS_LIBPCI) $(CONFIG_LIBPCI_VERSION)
|
||||
@if [ $(HAS_LIBPCI) = yes ]; then \
|
||||
echo " Checking for old \"pci_get_dev()\": $(HAS_PCI_OLD_GET_DEV)";\
|
||||
echo " CFLAGS: $(CONFIG_LIBPCI_CFLAGS)"; \
|
||||
echo " LDFLAGS: $(CONFIG_LIBPCI_LDFLAGS)"; \
|
||||
fi
|
||||
|
Reference in New Issue
Block a user