heads/modules/tpmtotp
Francis Lam d63d5b4508
modules: update to use full commit id
The short commit id can cause the tar archive potentially cause
the root directory in the archive to be named with the short id
causing the verification to fail
2020-01-16 09:30:48 -08:00

30 lines
723 B
Plaintext

modules-$(CONFIG_TPMTOTP) += tpmtotp
tpmtotp_depends := mbedtls qrencode $(musl_dep)
#tpmtotp_version := git
#tpmtotp_repo := https://github.com/osresearch/tpmtotp
tpmtotp_version := 18b860fdcf5a55537c8395b891f2b2a5c24fc00a
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/$(tpmtotp_version).tar.gz
tpmtotp_hash := 1082f2b0e4af833e04220dddedcc21a39eb39ee4dc5668bb010e7bcc795c606c
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 :=