summaryrefslogtreecommitdiffstats
path: root/package/lz4
Commit message (Collapse)AuthorAgeFilesLines
* lz4: bump to version 1.8.2Baruch Siach2018-05-224-119/+2
| | | | | | | Drop upstream patches. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lz4: disable static library on shared onlyBaruch Siach2018-04-251-0/+2
| | | | | | | | Don't build the static library when BR2_SHARED_LIBS=y, to reduce build time. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* lz4: don't build library and tools in parallelBaruch Siach2018-04-221-2/+5
| | | | | | | | | | | | | | Since commit e93fec6673e (lz4: bump to version 1.8.1.2) we use two make targets, 'lib' and 'lz4'. Both targets depend on the static library. When these targets run in parallel the two make instances that build the static library race against each other. Split these targets to ensure build order. Should fix: http://autobuild.buildroot.net/results/a8d/a8d956ff420f6a265c5c00b33646dbbc24ce2d48/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* lz4: improve static only build supportBaruch Siach2018-04-202-7/+64
| | | | | | | | | The current method of supporting static only build, removal of all lines that match the SHARED regex from lib/Makefile, is crude and fragile. Instead, patch lib/Makefile to allow disable of shared libraries. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* lz4: fix host build with glibc older than 2.17Baruch Siach2018-04-201-0/+58
| | | | | | | | | | | | | | | glibc before 2.17 require the -lrt linker option for clock_gettime(). We do not support pre 2.17 glibc for the target anymore, but there are still host platforms with these versions. Add upstream patch to skip use of clock_gettime() with older glibc versions. Should fix: http://autobuild.buildroot.net/results/bc5/bc5d6447ab16a61d9dcf56723106f0b107826ef4/ http://autobuild.buildroot.net/results/7dd/7dd47bef902845a0f7803f1a6c702ec154855858/ http://autobuild.buildroot.net/results/952/9523dbc767dc325befabeb9240c4009e78779c7d/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* lz4: bump to version 1.8.1.2Baruch Siach2018-04-192-4/+6
| | | | | | | | | | Use lib and lz4 make targets to avoid build of the manual generator, and the examples. Both of them use the target compiler to build host tools. Add license files hashes. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* lz4: install programs as well as librariesThomas Petazzoni2018-01-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to commit 8ad38a4fc2007df4bee9a941aed46c8771b6a84c ("package/lz4: bump version to r131"), the lz4 package was installing both libraries and programs, but this commit changed the behavior to only install libraries. The contributor might have been confused by the fact that the build command was "$(MAKE) ... -C $(@D) liblz4", suggesting that only the library was built. But since the install command was "$(MAKE) ... -C $(@D) install", the programs were effectively built as part of the install step, and installed as well. Since it makes sense for lz4 to also installs its programs, this commit adjusts the package accordingly. It is worth mentioning that using the "all" target during the build step is important. Indeed, otherwise the programs/Makefile has a "default" target that doesn't build everything (especially the lz4c program) and it end up being built as part of the install step, due to how the makefile dependencies are handled in the lz4 project. To make sure that everything gets built during the build step, we explicitly use the "all" target. Fixes bug #9996 Reported-by: Jamin Collins <jamin.collins@gmail.com> Initial-analysis-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/l*: fix wrapping of Config.in help textAdam Duskett2017-07-311-4/+4
| | | | | | | | | | | | | | The check-package script when ran gives warnings on text wrapping on all of these Config files. This patch cleans up all warnings related to the text wrapping for the Config files starting with the letter l in the package directory. The appropriate indentation is: <tab><2 spaces><62 chars> See http://nightly.buildroot.org/#writing-rules-config-in for more information. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefixArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | | Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-2cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-2c is BSD-2-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lz4: pass {TARGET,HOST}_CONFIGURE_OPTS in the environmentThomas Petazzoni2017-03-261-5/+5
| | | | | | | | | | | | | | {TARGET,HOST}_CONFIGURE_OPTS are currently passed as $(MAKE) argument, which causes some CPPFLAGS/CFLAGS defined by the package build system to be overridden, leading to build failures. This commit changes the lz4 package to pass {TARGET,HOST}_CONFIGURE_OPTS through the environment to avoid this issue. Fixes: http://autobuild.buildroot.net/results/2a578a9c462463fde802c999156723494fe1b14d/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lz4: version v1.7.5Jeroen Roovers2017-03-252-3/+3
| | | | | Signed-off-by: Jeroen Roovers <jer@airfi.aero> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lz4: use $(HOST_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-221-2/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lz4: use $(TARGET_MAKE_ENV) when calling $(MAKE)Gustavo Zacarias2016-10-151-3/+3
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lz4: fix legal infoGustavo Zacarias2016-03-021-2/+2
| | | | | | | | It moved, and programs are GPLv2+. Fixes: http://autobuild.buildroot.net/results/70a/70a526b265bb16a6be9f25c5044c65070706171c/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/lz4: only use PREFIX for host installationThomas Petazzoni2016-02-291-2/+2
| | | | | | | | | As noted by Peter Korsgaard, using DESTDIR=$(HOST_DIR) and PREFIX=/usr for the host installation is useless and actually incorrect (the pkg-config file contains incorrect paths). Instead, using PREFIX=$(HOST_DIR)/usr is simpler, and actually correct. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lz4: bump version to r131Gabe Evans2016-02-292-6/+11
| | | | | | | | | systemd v228 requires lz4 >= 125 Signed-off-by: Gabe Evans <gabe@hashrabbit.co> [Thomas: only pass PREFIX=/usr at install time instead of using LZ4_MAKE_OPTS, and also pass it for the host installation.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lz4: adjust homepage URLPeter Korsgaard2015-10-041-1/+1
| | | | | | Lz4 is no longer developed on google code. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-4/+0
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* lz4: bump versionMaxime Hadjinlian2014-11-011-1/+1
| | | | | Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lz4: security bump to r119Gustavo Zacarias2014-07-041-1/+1
| | | | | | | | Fixes issue 134 - https://code.google.com/p/lz4/issues/detail?id=134 AKA CVE-2014-4611. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lz4: new packageGustavo Zacarias2014-05-182-0/+55
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud