update buildroot to 2017.02.11
This commit is contained in:
9
bsp/buildroot-2017.02.11/package/pv/Config.in
Normal file
9
bsp/buildroot-2017.02.11/package/pv/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_PV
|
||||
bool "pv"
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
help
|
||||
Pipe Viewer - is a terminal-based tool for
|
||||
monitoring the progress of data through a
|
||||
pipeline.
|
||||
|
||||
http://www.ivarch.com/programs/pv.shtml
|
||||
2
bsp/buildroot-2017.02.11/package/pv/pv.hash
Normal file
2
bsp/buildroot-2017.02.11/package/pv/pv.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 0ece824e0da27b384d11d1de371f20cafac465e038041adab57fcf4b5036ef8d pv-1.6.0.tar.bz2
|
||||
37
bsp/buildroot-2017.02.11/package/pv/pv.mk
Normal file
37
bsp/buildroot-2017.02.11/package/pv/pv.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# pv
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PV_VERSION = 1.6.0
|
||||
PV_SOURCE = pv-$(PV_VERSION).tar.bz2
|
||||
PV_SITE = http://www.ivarch.com/programs/sources
|
||||
PV_LICENSE = Artistic-2.0
|
||||
PV_LICENSE_FILES = doc/COPYING
|
||||
|
||||
# pv configure script is somewhat stupid: if it cannot find the host
|
||||
# gettext tool msgfmt, it concludes that gettext is not available, and
|
||||
# provides its own minimal version. Unfortunately, this minimal
|
||||
# version conflicts with the available target gettext. We fix this by
|
||||
# ensuring that host-gettext is built if gettext support is enabled;
|
||||
PV_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext host-gettext)
|
||||
|
||||
# --relax linker option is enabled by default on sparc/sparc64
|
||||
# architectures, and it can't be used together with -r option, so
|
||||
# disable it.
|
||||
ifeq ($(BR2_sparc)$(BR2_sparc64),y)
|
||||
PV_LDFLAGS = "-Wl,--no-relax"
|
||||
endif
|
||||
|
||||
# While 'pv' uses autoconf, it does not use automake for its
|
||||
# makefiles. It uses $(LD) $(LDFLAGS) to achieve partial linking, but
|
||||
# using 'ld' directly doesn't work well with some toolchain
|
||||
# configuration, as the ld default emulation may not necessarily be
|
||||
# the correct one. By passing the below values for LD and LDFLAGS, we
|
||||
# ensure that 'gcc' is used to do these partial linking steps.
|
||||
PV_MAKE_OPTS = \
|
||||
LD="$(TARGET_CC)" \
|
||||
LDFLAGS="-Wl,-r -nostdlib $(PV_LDFLAGS)"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user