mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-21 13:57:52 +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.
26 lines
607 B
Plaintext
26 lines
607 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 \
|
|
$(CROSS_TOOLS) \
|
|
--host i386-elf-linux \
|
|
--target x86_64 \
|
|
--prefix="/" \
|
|
--without-lzma \
|
|
&& $(MAKE) clean
|
|
|
|
kexec_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install \
|
|
|
|
kexec_output := build/sbin/kexec
|
|
|
|
kexec_depends := zlib $(musl_dep)
|