summaryrefslogtreecommitdiffstats
path: root/package/pv
AgeCommit message (Collapse)Author
2014-10-04packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSThomas De Schampheleire
While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-02-20pv: fix minisetlocale related build failureThomas Petazzoni
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, by adding it to the dependencies. Fixes: http://autobuild.buildroot.org/results/d30/d30db79190f2cf8953751d55a5d34644f60daec4/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-20pv: needs gettext if locale is enabledArnout Vandecappelle
Fixes http://autobuild.buildroot.net/results/c4f/c4f5ed916d85740ec00f5f34ded5de0195e5cd45/ Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-17pv: support ccache buildsAndrew Ruder
When using ccache TARGET_CC is something like ccache gcc This causes problems in the pv build which attempts to override LD because the command ends up being make [...] LD=/tools/ccache /tools/gcc LDFLAGS="[...] As a result, during the build phase it attempts to build /tools/gcc which succeeds by doing nothing: make[1]: Nothing to be done for `/tools/gcc'. and during the install phase you get the real build which errors out on the LD error this snippet was attempting to fix: ld -r -o src/library.o src/library/getopt.o \ src/library/gettext.o ld: src/library/gettext.o: Relocations in generic ELF \ (EM: 40) src/library/gettext.o: error adding symbols: File in \ wrong format Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-06pv: fix build issue with some toolchainsThomas Petazzoni
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 custom values for LD and LDFLAGS, we ensure that 'gcc' is used to do these partial linking steps. Fixes the following build failures (x86-64 and mips64) : http://autobuild.buildroot.org/results/9ac/9aca276a220ad1460e5b32bd042dd4c93649baf3/build-end.log http://autobuild.buildroot.org/results/910/91044c01dcc3c4150aa6e74f5964fff27b9dac79/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-06pv: bump to version 1.4.12Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-06-27pv: add license infoPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-27pv: bump to version 1.4.6Jerzy Grzegorek
[Peter: drop patch and instead pass LD= on the make cmdline] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06Normalize separator size to 80Alexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06Remove description and url from headerAlexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-07-17all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2011-10-07package: add 'pv' (Pipe-Viewer)Roeland Van Praet
Signed-off-by: Roeland Van Praet <roelvp@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>