2017-04-07 13:51:49 +00:00
|
|
|
modules-y += zlib
|
|
|
|
|
|
|
|
zlib_version := 1.2.11
|
|
|
|
zlib_dir := zlib-$(zlib_version)
|
|
|
|
zlib_tar := zlib-$(zlib_version).tar.gz
|
|
|
|
zlib_url := http://www.zlib.net/$(zlib_tar)
|
|
|
|
zlib_hash := c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
|
|
|
|
|
|
|
|
zlib_configure := \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2017-04-07 13:51:49 +00:00
|
|
|
./configure \
|
|
|
|
--prefix="/" \
|
|
|
|
|
|
|
|
zlib_target := \
|
|
|
|
$(MAKE_JOBS) \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2017-04-07 13:51:49 +00:00
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
install \
|
|
|
|
|
|
|
|
zlib_libraries := libz.so.1
|
|
|
|
|
|
|
|
zlib_depends := $(musl_dep)
|