mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 18:57:04 +00:00
5fd9878d28
As part of issue #1, we should build all libraries and programs that we deploy into the Heads initrd. This modifies the module configurations for all of them to install into heads/install so that we can build against them. Add dmsetup, cryptsetup and veritysetup (issue #46). Build gpgv 1.4 as a standalone tool (issue #23). Modify populate-lib to use the install directory by setting LD_LIBRARY_PATH (issue #35).
21 lines
554 B
Plaintext
21 lines
554 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 \
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
|
--prefix="$(INSTALL)" \
|
|
--without-zlib \
|
|
|
|
kexec_target := -j 8 install
|
|
|
|
kexec_output := build/sbin/kexec
|
|
|
|
# if we don't need zlib, don't built it
|
|
#kexec_depends := zlib
|