tools/zlib: move zlib build to tools
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Apr 2018 17:24:02 +0000 (19:24 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 28 Apr 2018 13:28:59 +0000 (15:28 +0200)
commit8dcd941d8b934891676a8d4bbef1ee78e89a4bf7
tree8889465aa25467269f09f9b39ef9e5fe5a519fa0
parentafdca53acee25f452bd2c405cb3943db34492585
tools/zlib: move zlib build to tools

This allows us to link the other tools against our libz and we do not
need the system zlib any more.

Only the static linked library is copied to the staging directory so we
have a statically linked library on all systems and not only on Linux.
This also adds the new dependencies of the packages which are depending
on zlib.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
include/prereq-build.mk
package/libs/zlib/Makefile
tools/Makefile
tools/lzma-old/Makefile
tools/lzma-old/patches/120-add-cflags.patch [new file with mode: 0644]
tools/make-ext4fs/Makefile
tools/make-ext4fs/patches/100-add-ldflags.patch [new file with mode: 0644]
tools/squashfs4/Makefile
tools/zlib/Makefile [new file with mode: 0644]