mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-30 01:38:56 +00:00
2980eb0522
Signed-off-by: Trammell hudson <hudson@trmm.net>
30 lines
690 B
Plaintext
30 lines
690 B
Plaintext
modules-$(CONFIG_TPMTOTP) += tpmtotp
|
|
|
|
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
|
|
|
#tpmtotp_version := git
|
|
#tpmtotp_repo := https://github.com/osresearch/tpmtotp
|
|
|
|
tpmtotp_version := 18b860f
|
|
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 :=
|