mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
re-enable zlib and use it in kexec (issue #170)
This commit is contained in:
parent
3c07e27d73
commit
ac74b92157
@ -11,17 +11,15 @@ kexec_configure := ./configure \
|
||||
STRIP="$(CROSS)strip" \
|
||||
--host i386-elf-linux \
|
||||
--target x86_64 \
|
||||
--prefix="$(INSTALL)" \
|
||||
--without-zlib \
|
||||
--prefix="/" \
|
||||
--without-lzma \
|
||||
&& $(MAKE) clean
|
||||
|
||||
kexec_target := \
|
||||
$(MAKE_JOBS) \
|
||||
DESTDIR="$(INSTALL)" \
|
||||
install \
|
||||
|
||||
kexec_output := build/sbin/kexec
|
||||
|
||||
# if we don't need zlib, don't built it
|
||||
#kexec_depends := zlib
|
||||
kexec_depends := $(musl_dep)
|
||||
kexec_depends := zlib $(musl_dep)
|
||||
|
21
modules/zlib
Normal file
21
modules/zlib
Normal file
@ -0,0 +1,21 @@
|
||||
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 := \
|
||||
CC="$(heads_cc)" \
|
||||
./configure \
|
||||
--prefix="/" \
|
||||
|
||||
zlib_target := \
|
||||
$(MAKE_JOBS) \
|
||||
DESTDIR="$(INSTALL)" \
|
||||
install \
|
||||
|
||||
zlib_libraries := libz.so.1
|
||||
|
||||
zlib_depends := $(musl_dep)
|
Loading…
Reference in New Issue
Block a user