heads/modules/cryptsetup

40 lines
1.1 KiB
Plaintext
Raw Normal View History

modules-$(CONFIG_CRYPTSETUP) += cryptsetup
2016-08-19 15:20:41 +00:00
cryptsetup_depends := util-linux popt lvm2 json-c $(musl_dep)
2020-06-10 08:24:03 +00:00
cryptsetup_version := 2.3.3
2016-08-19 15:20:41 +00:00
cryptsetup_dir := cryptsetup-$(cryptsetup_version)
cryptsetup_tar := cryptsetup-$(cryptsetup_version).tar.xz
2020-06-10 08:24:03 +00:00
cryptsetup_url := https://www.kernel.org/pub/linux/utils/cryptsetup/v2.3/cryptsetup-$(cryptsetup_version).tar.xz
cryptsetup_hash := 3bca4ffe39e2f94cef50f6ea65acb873a6dbce5db34fc6bcefe38b6d095e82df
2016-08-19 15:20:41 +00:00
# Use an empty prefix so that the executables will not include the
# build path.
cryptsetup_configure := ./configure \
$(CROSS_TOOLS) \
--host i386-elf-linux \
2017-04-07 13:51:15 +00:00
--prefix "/" \
--disable-rpath \
--disable-gcrypt-pbkdf2 \
--enable-cryptsetup-reencrypt \
--with-crypto_backend=kernel \
--with-tmpfilesdir=$(INSTALL)/lib/tmpfiles.d
# but after building, replace prefix so that they will be installed
# in the correct directory.
cryptsetup_target := \
$(MAKE_JOBS) \
&& $(MAKE) \
-C $(build)/$(cryptsetup_dir) \
prefix="$(INSTALL)" \
install
cryptsetup_output := \
.libs/cryptsetup \
.libs/cryptsetup-reencrypt \
.libs/veritysetup \
cryptsetup_libraries := \
.libs/libcryptsetup.so.12 \