#
#############################################################
-PCIUTILS_VERSION = 3.1.10
+PCIUTILS_VERSION = 3.2.0
PCIUTILS_SITE = ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
PCIUTILS_INSTALL_STAGING = YES
PCIUTILS_LICENSE = GPLv2+
PCIUTILS_DEPENDENCIES += busybox
endif
+ifeq ($(BR2_PACKAGE_KMOD),y)
+ PCIUTILS_DEPENDENCIES += kmod
+ PCIUTILS_KMOD = yes
+else
+ PCIUTILS_KMOD = no
+endif
+
define PCIUTILS_CONFIGURE_CMDS
$(SED) 's/wget --no-timestamping/wget/' $(PCIUTILS_DIR)/update-pciids.sh
$(SED) 's/uname -s/echo Linux/' \
SHARED=$(PCIUTILS_SHARED) \
ZLIB=$(PCIUTILS_ZLIB) \
DNS=$(PCIUTILS_DNS) \
+ LIBKMOD=$(PCIUTILS_KMOD) \
PREFIX=/usr
endef