mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 21:17:55 +00:00
27 lines
635 B
Plaintext
27 lines
635 B
Plaintext
modules-$(CONFIG_KEXEC) += 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
|
|
|
|
kexec_configure := ./configure \
|
|
CC="$(heads_cc)" \
|
|
STRIP="$(CROSS)strip" \
|
|
AR="$(CROSS)ar" \
|
|
--host i386-elf-linux \
|
|
--target x86_64 \
|
|
--prefix="/" \
|
|
--without-lzma \
|
|
&& $(MAKE) clean
|
|
|
|
kexec_target := \
|
|
$(MAKE_JOBS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install \
|
|
|
|
kexec_output := build/sbin/kexec
|
|
|
|
kexec_depends := zlib $(musl_dep)
|