2016-08-02 23:25:47 +00:00
|
|
|
modules += kexec
|
|
|
|
|
|
|
|
kexec_version := 2.0.12
|
|
|
|
kexec_dir := kexec-tools-$(kexec_version)
|
|
|
|
kexec_tar := kexec-tools-$(kexec_version).tar.gz
|
|
|
|
kexec_url := https://kernel.org/pub/linux/utils/kernel/kexec/$(kexec_tar)
|
|
|
|
kexec_hash := cc7b60dad0da202004048a6179d8a53606943062dd627a2edba45a8ea3a85135
|
|
|
|
|
2016-12-28 17:45:12 +00:00
|
|
|
kexec_configure := ./configure \
|
2016-12-29 23:23:08 +00:00
|
|
|
CC="$(heads_cc)" \
|
2016-12-28 17:45:12 +00:00
|
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
|
|
|
--prefix="$(INSTALL)" \
|
|
|
|
--without-zlib \
|
2016-12-28 21:47:10 +00:00
|
|
|
--without-lzma \
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
kexec_target := \
|
|
|
|
CC="$(heads_cc)" \
|
|
|
|
-j 8 \
|
|
|
|
install \
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2016-08-02 23:25:47 +00:00
|
|
|
kexec_output := build/sbin/kexec
|
2016-12-28 17:45:12 +00:00
|
|
|
|
|
|
|
# if we don't need zlib, don't built it
|
|
|
|
#kexec_depends := zlib
|
2016-12-29 23:23:08 +00:00
|
|
|
kexec_depends := $(musl_dep)
|