mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
lib: zlib: include deflate into zlib build
Add a new config CONFIG_GZIP_ENABLED, if enabled, the uboot bin would include zlib's deflate method which could be used for compressing. Signed-off-by: Lei Wen <leiwen@marvell.com>
This commit is contained in:
parent
e9a128d8e9
commit
7a32b98dac
4 changed files with 49 additions and 7 deletions
|
@ -12,6 +12,14 @@
|
|||
* - added inflateIncomp
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#ifdef CONFIG_GZIP_COMPRESSED
|
||||
#define NO_DUMMY_DECL
|
||||
#include "deflate.c"
|
||||
#include "trees.c"
|
||||
#endif
|
||||
|
||||
#include "zutil.h"
|
||||
#include "inftrees.h"
|
||||
#include "inflate.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue