aboutsummaryrefslogtreecommitdiffstats
path: root/lzo
Commit message (Collapse)AuthorAgeFilesLines
* build: sort sources to build in a more deterministic wayPhilippe Coval2015-01-051-1/+1
| | | | | | | | | | | | | | | | | It has been observed that binaries contents are depending on the order of linked objects. This order is caused by GNU make's wildcard function and the position of sources on filesystem. This change tries to prevent this kind of randomness. Also consider building using -j1 flag to make it even more reproductible. Change-Id: Ie8eee7f336e6f1fa2863c4150d967afd15519f1d Bug: http://bugzilla.syslinux.org/show_bug.cgi?id=57#related Signed-off-by: Philippe Coval <philippe.coval at open.eurogiciel.org>
* lzo: Upgrade to LZO 2.07H. Peter Anvin2014-06-2746-2003/+7207
| | | | | | Use version 2.07 of the LZO compression library. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Add per-firmware object directory supportMatt Fleming2012-10-161-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have multiple firmware backends it no longer makes sense to write object files to the same directory as their source. A better solution is to write the object files to a per-firmware directory under a top-level object directory. The top-level object directory can be specified on the command-line with the O= variable, e.g. make O=/tmp/obj. If no top-level object directory is specified an 'obj' directory is created in the top-level of the Syslinux source repository. All the existing make targets continue to work as before, however now they apply to all firmware backends, e.g. 'make installer' will build the BIOS, 32-bit EFI and 64-bit EFI installers and place them under $(OBJ)/bios, $(OBJ)/efi32 and $(OBJ)/efi64 respectively. Note unlike every other bit of Syslinux, the gpxe objects are still kept in the src directory, e.g. gpxe/src, since gpxe is only required by the BIOS backend. It is possible to specify a make target for a specific firmware or list of firmware with the following syntax, make [firmware[,firmware]] [target[,target]] To clean the object directory for just the BIOS firmware type, 'make bios clean' To build both the 32-bit and 64-bit EFI installers type, 'make efi32 efi64 installer' Since the Syslinux make infrastructure is now more complex a new file doc/building.txt has been created to explain how to build Syslinux. The top-level Makefile now exports some make variables for use in module Makefiles, - topdir - the top-level source directory of the Syslinux repository, e.g. /usr/src/syslinux - objdir - the top-level object directory for the firmware backend currently being built, e.g. /obj/syslinux/bios - SRC - the source directory in the Syslinux repository for the module currently being built, e.g. /usr/src/syslinux/com32/libupload - OBJ - the object directory for the module currently being built, e.g. /obj/syslinux/bios/com32/libupload Since we're rewriting the Makefile infrastructure anyway it seemed like a good idea to add parallel support. By writing subdirectories as prequisites for make targets the objects in those subdirectories can be built in parallel. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* Merge remote-tracking branch 'zytor/master' into elflinkMatt Fleming2011-04-261-1/+2
|\ | | | | | | | | | | | | | | | | | | | | We need the recent Makefile filename changes to be merged into the elflink branch because it will make things simpler when converting all modules to ELF format. Conflicts: com32/Makefile com32/modules/Makefile version
| * Makefile: Move Makefile fragments into mk/Matt Fleming2011-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the MCONFIG files into a mk/ directory and give them more descriptive names. This is purely a cosmetic change to make the 'include' directives a bit more coherent by making it obvious exactly which MCONFIG file we're including. For example, in com32/lua/src/Makefile we exchange the line, include ../../MCONFIG for the much more comprehensible, include $(MAKEDIR)/com32.mk Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
* | elflink: prepcore: comments off size check for tempFeng Tang2010-07-201-0/+2
|/
* Add .gitignore files for generated filesH. Peter Anvin2009-06-151-0/+1
| | | | | | Create new .gitignore files and add generated files to them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* prepcore: make error() generate newlineH. Peter Anvin2009-06-011-12/+13
| | | | | | | Make error() automatically generate newline, to make the code a bit cleaner looking. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* prepcore: style cleanupsH. Peter Anvin2009-06-011-52/+68
| | | | | | | Style cleanups in lzo/prepcore.c. Add an error() function and an error-checking zeroing memory allocator (xzalloc). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* prepcore: error out if the compressed image is too large to loadH. Peter Anvin2009-06-011-0/+8
| | | | | | | | Export, from each loader stage, the symbol MaxLMA which indicates to prepcore how big the image is allowed to be. Change prepcore to enforce this limit and to error out otherwise. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* prepcore: actually do a full binary comparison on the output endH. Peter Anvin2009-05-311-5/+9
| | | | | | | Do a full binary comparison between the decompressed output and what we started with. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on lzo/prepcore.cH. Peter Anvin2009-05-291-123/+109
| | | | | | | | | Automatically reformat lzo/prepcore.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* prepcore: fix ISOLINUX padding, cleanupsH. Peter Anvin2009-05-231-91/+22
| | | | | | | Fix the calculation of the ISOLINUX padding size. Add stylistic cleanups and remove code that we don't care about (e.g. LZO1Y). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: LZO compress the PM part of the coreH. Peter Anvin2009-05-2047-0/+16703
Use LZO to compress the PM part of the core. LZO is not the best compression algorithm, but it is very fast, and the decompressor is only 447 bytes long. The LZO code is part of the LZO 2.03 library. Signed-off-by: H. Peter Anvin <hpa@zytor.com>