aboutsummaryrefslogtreecommitdiff
path: root/package/zlib
Commit message (Collapse)AuthorAgeFilesLines
* package/zlib: allow shared-only buildsGravatar Yann E. MORIN2014-12-201-0/+13
| | | | | | | | | | | | | | | | | Currently, we can build a static-only zlib, but not a shared-only one. This is because zlib's build-system is a custom ./configure (not using autotools), and does not allow building/installing only the shared library. Simply remove the .a as a post-staging install hook. We don't care removing it from target, since it is not used at link time to build other packages, and it is anyway removed later before assembling the filesystem images anyway. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSGravatar Thomas 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>
* zlib: add hash fileGravatar Gustavo Zacarias2014-10-191-0/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove package clean commandsGravatar Thomas De Schampheleire2013-12-081-4/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove uninstall commandsGravatar Thomas De Schampheleire2013-12-061-12/+0
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* zlib: bump to version 1.2.8Gravatar Jerzy Grzegorek2013-07-201-2/+2
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove all := signsGravatar Thomas Petazzoni2013-01-201-4/+4
| | | | | | | | | | | Finally get rid of all := used for variable definitions in packages, as we suggest in our manual and during the review of new packages. While I was at it, I also sometimes added a few missing new lines between the header and the first variable definition. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* freetype, libfuse, libpng, x11vnc, zlib: get rid of BR2_SOURCEFORGE_MIRRORGravatar Stefan Froberg2012-08-241-1/+1
| | | | | Signed-off-by: Stefan Froberg <stefan.froberg@petroprogram.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: add license informationGravatar Simon Dawson2012-08-211-0/+2
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | 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>
* all packages: use new host-xxx-package macrosGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: bump to version 1.2.7Gravatar Gustavo Zacarias2012-06-101-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: bump versionGravatar Peter Korsgaard2012-02-132-28/+5
| | | | | | Patch is now upstream. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from GENTARGETSGravatar Thomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: always build host version dynamicallyGravatar Peter Korsgaard2011-07-201-2/+0
| | | | | | | | | Host libraries should always be built using dynamic linking, rather than static if BR2_PREFER_STATIC_LIB is enabled, as that then breaks dependent libraries expecting a shared library. Reported-by: Andy Kennedy <andy.kennedy@adtran.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: disable call to ldconfigGravatar Thomas Petazzoni2011-01-261-3/+3
| | | | | | | | | | | By default, zlib installation procedure calls ldconfig, which takes time uselessly. ldconfig is only useful if you install libraries on the host (in directories listed in /etc/ld.so.conf, or in /usr/lib or /lib), so calling it after installing libraries in $(STAGING_DIR), $(TARGET_DIR) or $(HOST_DIR) is just a lenghty no-op. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: really fix install for static only buildsGravatar Peter Korsgaard2010-12-121-0/+24
| | | | | | | | | | Commit ab2f5567c1 (cleanup, fix install for static only build) forgot to add the patch for static only builds, even though the commit message mentioned it. Thanks to Mike for noticing. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: don't point libdir/includedir at stagingGravatar Peter Korsgaard2010-11-241-2/+0
| | | | | | Fixes 'make install'. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: cleanup, fix install for static only buildGravatar Peter Korsgaard2010-11-241-23/+21
| | | | | | | Use 'make install' for installation, add a patch to make it work for static only builds, and add uninstall/clean targets while we're at it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: Fix buildGravatar Lionel Landwerlin2010-09-201-2/+2
| | | | | | | Using "make -j $(N)" with N > 1 sometimes breaks zlib build. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: Bump to 1.2.5Gravatar Paul Jones2010-07-273-126/+1
| | | | | | | Closes #1981 Signed-off-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: enable compilation on the hostGravatar Thomas Petazzoni2010-02-231-0/+25
| | | | | | | | zlib is needed on the host, to build xlib_libfontenc on the host, to build xapp_mkfontscale on the host, in order to finally build xfonts encodings on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: fix headers installation in target directoryGravatar Lionel Landwerlin2010-01-281-2/+2
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: rework on top of the generic infrastructureGravatar Thomas Petazzoni2009-12-151-64/+29
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* zlib: fix typoGravatar Peter Korsgaard2009-10-041-1/+1
| | | | | | | Fix typo introduced by 1e32e0700a (remove dedicated target-headers option). Noticed by Alexander Clouter <alex@digriz.org.uk>. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: remove dedicated target-headers optionGravatar Peter Korsgaard2009-10-032-12/+1
| | | | | | | Instead, simply only copy headers/static lib if BR2_HAVE_DEVFILES is enabled. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* zlib: Replace negative logic in Makefile with positiveGravatar Michael Roth2009-09-301-5/+5
| | | | | | | | Positive logic is easier to read and understand than something like 'if not option=yes then foo else bar'. Signed-off-by: Michael Roth <mroth@nessie.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Gravatar Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: convert to DOWNLOAD helperGravatar Peter Korsgaard2009-01-161-1/+1
|
* zlib: install using cp instead of install for zlib librariesGravatar Hans-Christian Egtvedt2008-12-111-1/+1
| | | | | | | | This patch will install zlib keeping the symlinks. The usage of $(INSTALL) here did not take into account symbolic links. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* have zlib respect BR2_PREFER_STATIC_LIBGravatar Peter Korsgaard2008-12-081-6/+19
| | | | | | | | The ARM uClinux BFLT format apparently doesn't support shared libs nor -fPIC. So let's distinguish between shared and non shared builds by having split rules for libz.a and libz.so based on BR2_PREFER_STATIC_LIB. Signed-off-by: Nicolas Pitre <nico@cam.org>
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-2/+2
|
* Fix zlib install broken by previous commit. SorryGravatar Thiago A. Corrêa2008-10-311-5/+6
|
* Make sure directories are created during install to STAGING_DIR and ↵Gravatar Thiago A. Corrêa2008-10-311-10/+8
| | | | TARGET_DIR. Thanks to Thomas Petazzoni and Bernhard Reutner-Fischer.
* package: global largefile CFLAGS handlingGravatar Peter Korsgaard2008-08-041-5/+1
|
* buildroot: remove trailing spacesGravatar Peter Korsgaard2008-08-041-1/+1
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Kconfig: remove 'default n'Gravatar Peter Korsgaard2008-07-171-2/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* zlib: cleanup and fix -clean targetGravatar Peter Korsgaard2008-07-171-17/+13
|
* - just use the strip binary to avoid confusing libtool (quotes)Gravatar Bernhard Reutner-Fischer2007-10-011-1/+1
| | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
* - semicolon touchup. No other changesGravatar Bernhard Reutner-Fischer2007-08-221-1/+1
|
* Remove switches if sstrip is runGravatar Ulf Samuelsson2007-08-211-1/+1
|
* Use TARGET_CONFIGURE_ARGS in some packages lackingGravatar Ulf Samuelsson2007-07-301-0/+1
|
* Use <package>_VERSION in all <package>.mk instead of <package>_VERGravatar Ulf Samuelsson2007-07-111-12/+12
|
* Remove usage of TARGET_LDFLAGS all together. Both TARGET_CFLAGS and ↵Gravatar "Steven J. Hill"2007-07-061-3/+2
| | | | TARGET_LDFLAGS are passed with the compilers and linker respectively so that we can pass CFLAGS and LDFLAGS on a per-package basis which was not possible previously and a number of packages failed to build. TARGET_CFLAGS usage in package makefiles will be removed next.
* - change download site to sourceforgeGravatar Bernhard Reutner-Fischer2007-06-291-2/+2
|
* - improve the zlib-clean targetGravatar Bernhard Reutner-Fischer2007-06-251-1/+6
|
* - make sure that TARGET_DIR/usr/lib existsGravatar Bernhard Reutner-Fischer2007-06-251-2/+2
|
* - install some more stuff that goes into staging_dir into the proper place.Gravatar Bernhard Reutner-Fischer2007-04-161-27/+29
| | | | First hunk of fixes for bug #1290
* yet more LDFLAGS handling fixupsGravatar Eric Andersen2007-03-141-2/+2
|