mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
30 lines
688 B
Plaintext
30 lines
688 B
Plaintext
modules-$(CONFIG_TPMTOTP) += tpmtotp
|
|
|
|
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
|
|
|
tpmtotp_version := git
|
|
tpmtotp_repo := https://github.com/osresearch/tpmtotp
|
|
|
|
#tpmtotp_version := 0.3.0
|
|
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
|
|
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
|
|
tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/v$(tpmtotp_version).tar.gz
|
|
tpmtotp_hash := e8205aa3d19e536080f5974ed06ab9a88c4c3f37870c2f6a3a08a2f39302c22c
|
|
|
|
tpmtotp_target := \
|
|
$(CROSS_TOOLS) \
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
|
|
|
tpmtotp_output := \
|
|
totp \
|
|
hotp \
|
|
base32 \
|
|
qrenc \
|
|
util/tpm \
|
|
|
|
tpmtotp_libraries := \
|
|
libtpm/libtpm.so \
|
|
|
|
tpmtotp_configure :=
|