aboutsummaryrefslogtreecommitdiff
path: root/package/pciutils/pciutils.mk
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2015-04-09 15:57:46 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-09 21:41:29 +0200
commit52a12b7b1e0e98b02d0c6e55424c2f71d73b3ab0 (patch)
tree275827a908ed7e187e73b32335f4417ec0dbffb5 /package/pciutils/pciutils.mk
parent6f60c18d8b7ec0c4b1cea1b97c6ba083c2452eaf (diff)
downloadbuildroot-52a12b7b1e0e98b02d0c6e55424c2f71d73b3ab0.tar.gz
buildroot-52a12b7b1e0e98b02d0c6e55424c2f71d73b3ab0.tar.bz2
pciutils: bump to version 3.3.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pciutils/pciutils.mk')
-rw-r--r--package/pciutils/pciutils.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk
index 5df3a1708c..14107389ef 100644
--- a/package/pciutils/pciutils.mk
+++ b/package/pciutils/pciutils.mk
@@ -4,13 +4,20 @@
#
################################################################################
-PCIUTILS_VERSION = 3.3.0
+PCIUTILS_VERSION = 3.3.1
PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils
PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz
PCIUTILS_INSTALL_STAGING = YES
PCIUTILS_LICENSE = GPLv2+
PCIUTILS_LICENSE_FILES = COPYING
+ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
+PCIUTILS_DEPENDENCIES += udev
+PCIUTILS_MAKE_OPTS += HWDB=yes
+else
+PCIUTILS_MAKE_OPTS += HWDB=no
+endif
+
ifeq ($(BR2_PACKAGE_ZLIB),y)
PCIUTILS_ZLIB=yes
PCIUTILS_DEPENDENCIES += zlib
@@ -33,7 +40,7 @@ else
PCIUTILS_SHARED=yes
endif
-PCIUTILS_MAKE_OPTS = \
+PCIUTILS_MAKE_OPTS += \
CC="$(TARGET_CC)" \
HOST="$(KERNEL_ARCH)-linux" \
OPT="$(TARGET_CFLAGS)" \