summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/pciutils/Config.in1
-rw-r--r--package/pciutils/pciutils.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/pciutils/Config.in b/package/pciutils/Config.in
index a082f2399..18bd65587 100644
--- a/package/pciutils/Config.in
+++ b/package/pciutils/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_PCIUTILS
bool "pciutils"
+ depends on BR2_PACKAGE_ZLIB
help
Various utilities dealing with the PCI bus.
Provides things like setpci and lspci.
diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk
index 805a4d320..14c548933 100644
--- a/package/pciutils/pciutils.mk
+++ b/package/pciutils/pciutils.mk
@@ -43,7 +43,7 @@ $(TARGET_DIR)/sbin/setpci: $(PCIUTILS_DIR)/.compiled
$(TARGET_DIR)/usr/share/misc/pci.ids: $(PCIUTILS_DIR)/.unpacked
install -Dc $(PCIUTILS_DIR)/pci.ids $(TARGET_DIR)/usr/share/misc/pci.ids
-pciutils: uclibc $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/usr/share/misc/pci.ids
+pciutils: uclibc zlib $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/usr/share/misc/pci.ids
pciutils-clean:
rm $(TARGET_DIR)/sbin/lspci $(TARGET_DIR)/sbin/setpci $(TARGET_DIR)/usr/share/misc/pci.ids