mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-07 03:29:09 +00:00
Change all of the builds to use $(MAKE) instead of the /usr/bin/make. Download and build GNU make-4.2 if the wrong version is installed on the system. Re-invoke build/make-4.2/make with the target that was passed in once the correct make has been built.
26 lines
620 B
Plaintext
26 lines
620 B
Plaintext
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
|
|
|
|
kexec_configure := ./configure \
|
|
CC="$(heads_cc)" \
|
|
--host i386-elf-linux \
|
|
--target x86_64 \
|
|
--prefix="$(INSTALL)" \
|
|
--without-zlib \
|
|
--without-lzma \
|
|
&& $(MAKE) clean
|
|
|
|
kexec_target := \
|
|
install \
|
|
|
|
kexec_output := build/sbin/kexec
|
|
|
|
# if we don't need zlib, don't built it
|
|
#kexec_depends := zlib
|
|
kexec_depends := $(musl_dep)
|