mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
353e836dc1
Update kexec to 2.0.26. Add tracing to framebuffer initialization. In particular, the driver name is traced if not recognized, and messages about kernel config are shown if the kernel doesn't provide the framebuffer pointer. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
28 lines
690 B
Makefile
28 lines
690 B
Makefile
modules-$(CONFIG_KEXEC) += kexec
|
|
|
|
kexec_version := 2.0.26
|
|
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 := 89bdd941542c64fec16311858df304ed3a3908c1a60874d69df5d9bf1611e062
|
|
|
|
kexec_configure := \
|
|
CFLAGS="-g -Os -fno-strict-aliasing -Wall -Wstrict-prototypes" \
|
|
./configure \
|
|
$(CROSS_TOOLS) \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--target $(MUSL_ARCH) \
|
|
--prefix="/" \
|
|
--without-lzma \
|
|
&& $(MAKE) clean
|
|
|
|
kexec_target := \
|
|
$(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install \
|
|
|
|
kexec_output := build/sbin/kexec
|
|
|
|
kexec_depends := zlib $(musl_dep)
|