2016-08-19 15:20:41 +00:00
|
|
|
modules += cryptsetup
|
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
cryptsetup_depends := libuuid popt lvm2 $(musl_dep)
|
2016-12-28 17:45:12 +00:00
|
|
|
|
2016-11-29 19:24:01 +00:00
|
|
|
cryptsetup_version := 1.7.3
|
2016-08-19 15:20:41 +00:00
|
|
|
cryptsetup_dir := cryptsetup-$(cryptsetup_version)
|
|
|
|
cryptsetup_tar := cryptsetup-$(cryptsetup_version).tar.xz
|
2016-11-29 19:24:01 +00:00
|
|
|
cryptsetup_url := https://www.kernel.org/pub/linux/utils/cryptsetup/v1.7/cryptsetup-$(cryptsetup_version).tar.xz
|
|
|
|
cryptsetup_hash := af2b04e8475cf40b8d9ffd97a1acfa73aa787c890430afd89804fb544d6adc02
|
2016-08-19 15:20:41 +00:00
|
|
|
|
2016-11-29 19:24:01 +00:00
|
|
|
cryptsetup_configure := ./configure \
|
2016-12-29 23:23:08 +00:00
|
|
|
CC="$(heads_cc)" \
|
2016-12-28 17:45:12 +00:00
|
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
|
|
|
--prefix "$(INSTALL)" \
|
2016-12-01 19:03:55 +00:00
|
|
|
--disable-gcrypt-pbkdf2 \
|
|
|
|
--with-crypto_backend=kernel \
|
|
|
|
|
2016-12-28 17:45:12 +00:00
|
|
|
cryptsetup_target := -j 8 install
|
|
|
|
|
2016-12-01 19:03:55 +00:00
|
|
|
cryptsetup_output := \
|
|
|
|
src/.libs/cryptsetup \
|
|
|
|
src/.libs/veritysetup \
|
|
|
|
|
2016-12-28 17:45:12 +00:00
|
|
|
|