mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 09:48:56 +00:00
07eb5e9717
Each of the submodule configuration files defined a subset of the cross compiler tools that it used and many were picking up the system `ar`, `nm`, `strip, `ld`, etc. They all now use a `Makefile` macro that defines the path to the proper cross compiler tools. For ones that need the tools, but not the musl-libc gcc, there is $(CROSS_TOOLS_NOCC) that is all of them without gcc. This is for musl-libc itself, as well as xen and the Linux kernel.
23 lines
452 B
Plaintext
23 lines
452 B
Plaintext
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 := \
|
|
$(CROSS_TOOLS) \
|
|
./configure \
|
|
--prefix="/" \
|
|
|
|
zlib_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install \
|
|
|
|
zlib_libraries := libz.so.1
|
|
|
|
zlib_depends := $(musl_dep)
|