mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
d63d5b4508
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
30 lines
723 B
Plaintext
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 :=
|