aboutsummaryrefslogtreecommitdiff
path: root/package/pciutils/pciutils.mk
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2020-06-04 21:43:36 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-06-04 22:48:04 +0200
commit3bc5df8cb158fdb877f4935b29946f1bc69981da (patch)
treea02506d1cea2ea5623ce423503aa654fc434ad40 /package/pciutils/pciutils.mk
parent2bfc379c50e7c7bc532bed8dc648025c4db14358 (diff)
downloadbuildroot-3bc5df8cb158fdb877f4935b29946f1bc69981da.tar.gz
buildroot-3bc5df8cb158fdb877f4935b29946f1bc69981da.tar.bz2
package/pciutils: bump to version 3.7.0
Use CROSS_COMPILE for toolchain prefix. Makefile derives CC, AR, and RANLIB from that. Remove sed manipulation of the lib/configure script. Host uname is not used when the HOST variable is set as we do. Remove sed manipulation of Makefile. Set STRIP to an empty string instead. Format hash file with two space separators. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/pciutils/pciutils.mk')
-rw-r--r--package/pciutils/pciutils.mk13
1 files changed, 4 insertions, 9 deletions
diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk
index 30d429e75a..9b83b62b55 100644
--- a/package/pciutils/pciutils.mk
+++ b/package/pciutils/pciutils.mk
@@ -4,20 +4,19 @@
#
################################################################################
-PCIUTILS_VERSION = 3.5.5
+PCIUTILS_VERSION = 3.7.0
PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils
PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz
PCIUTILS_INSTALL_STAGING = YES
PCIUTILS_LICENSE = GPL-2.0+
PCIUTILS_LICENSE_FILES = COPYING
PCIUTILS_MAKE_OPTS = \
- CC="$(TARGET_CC)" \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
HOST="$(KERNEL_ARCH)-linux" \
OPT="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
- RANLIB=$(TARGET_RANLIB) \
- AR=$(TARGET_AR) \
- DNS=no
+ DNS=no \
+ STRIP=
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
PCIUTILS_DEPENDENCIES += udev
@@ -48,10 +47,6 @@ endif
define PCIUTILS_CONFIGURE_CMDS
$(SED) 's/wget --no-timestamping/wget/' $(PCIUTILS_DIR)/update-pciids.sh
- $(SED) 's/uname -s/echo Linux/' \
- -e 's/uname -r/echo $(LINUX_HEADERS_VERSION)/' \
- $(PCIUTILS_DIR)/lib/configure
- $(SED) 's/^STRIP/#STRIP/' $(PCIUTILS_DIR)/Makefile
endef
define PCIUTILS_BUILD_CMDS