]> err.no Git - systemd/commitdiff
pci-db: make sure we actually read the pci.ids file instead of usb.ids
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2009 02:47:16 +0000 (04:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2009 02:47:16 +0000 (04:47 +0200)
Since the recent Makefile.am rework both usb-db and pci-db were built to
read the usb.ids database file. This fix makes sure pci-db properly
reads pci.ids instead.

Originally pointed out by Marco d'Itri.

Makefile.am

index d785f05611ce33e780cb212c38ff83d49a9d6f8e..61fbf222cbc7adab14e3e7ce3a186149640bb5f1 100644 (file)
@@ -439,7 +439,7 @@ libexec_PROGRAMS += extras/usb-db/usb-db
 # pci-db - read PCI vendor/device string database
 # ------------------------------------------------------------------------------
 extras_usb_db_pci_db_SOURCES = extras/usb-db/usb-db.c
-extras_usb_db_pci_db_CPPFLAGS = $(AM_CPPFLAGS) -DPCI_DATABASE=\"$(USB_DATABASE)\" -DBUILD_FOR_PCI
+extras_usb_db_pci_db_CPPFLAGS = $(AM_CPPFLAGS) -DPCI_DATABASE=\"$(PCI_DATABASE)\" -DBUILD_FOR_PCI
 extras_usb_db_pci_db_LDADD = libudev/libudev-private.la
 libexec_PROGRAMS += extras/usb-db/pci-db