mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
c40748aa25
This addresses multiple issues: * Issue #63: initrd is build fresh each time, so tracked files do not matter. * Issue #144: build time configuration * Issue #123: allows us to customize the startup experience * Issue #122: manual start-xen will go away * Issue #25: tpmtotp PCRs are updated after reading the secret * Issue #16: insmod now meaures modules
33 lines
886 B
Plaintext
33 lines
886 B
Plaintext
modules-$(CONFIG_LVM2) += lvm2
|
|
|
|
lvm2_version := 2.02.168
|
|
lvm2_dir := LVM2.$(lvm2_version)
|
|
lvm2_tar := LVM2.$(lvm2_version).tgz
|
|
lvm2_url := http://mirrors.kernel.org/sourceware/lvm2/$(lvm2_tar)
|
|
lvm2_hash := 23a3d1cddd41b3ef51812ebf83e9fa491f502fe74130d4263be327a91914660d
|
|
|
|
# cross compiling test assumes malloc/realloc aren't glibc compat
|
|
# so we force it via the configure cache.
|
|
lvm2_configure := \
|
|
CC="$(heads_cc)" \
|
|
ac_cv_func_malloc_0_nonnull=yes \
|
|
ac_cv_func_realloc_0_nonnull=yes \
|
|
./configure \
|
|
--host i386-elf-linux \
|
|
--prefix $(INSTALL) \
|
|
--disable-selinux \
|
|
--disable-udev-systemd-background-jobs \
|
|
--disable-realtime \
|
|
--with-cluster=none \
|
|
|
|
# not sure why LIB_SUFFIX is not defined in the cross build
|
|
lvm2_target := \
|
|
$(MAKE_JOBS) \
|
|
install_device-mapper \
|
|
|
|
lvm2_libraries := libdm/libdevmapper.so.1.02
|
|
|
|
lvm2_output := tools/dmsetup
|
|
|
|
lvm2_depends := $(musl_dep)
|