mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
17ac64bdf1
Signed-off-by: Daniel Pineda <daniel.pineda@puri.sm>
29 lines
713 B
Makefile
29 lines
713 B
Makefile
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 \
|
|
qrenc \
|
|
util/tpm \
|
|
|
|
tpmtotp_libraries := \
|
|
libtpm/libtpm.so \
|
|
|
|
tpmtotp_configure :=
|