2016-08-02 23:25:47 +00:00
|
|
|
modules += tpmtotp
|
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
2016-08-02 23:25:47 +00:00
|
|
|
|
2017-02-01 16:21:53 +00:00
|
|
|
#tpmtotp_version := git
|
|
|
|
#tpmtotp_repo := https://github.com/osresearch/tpmtotp
|
2016-08-19 21:25:44 +00:00
|
|
|
|
2017-02-01 16:21:53 +00:00
|
|
|
tpmtotp_version := 0.2.0
|
2016-08-02 23:25:47 +00:00
|
|
|
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
|
2017-02-01 16:21:53 +00:00
|
|
|
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
|
|
|
|
tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/v$(tpmtotp_version).tar.gz
|
|
|
|
tpmtotp_hash := c197e56d577db716e46e22c400ccf39aae8229282c5c2812742e9197c83b27ee
|
2016-08-19 21:25:44 +00:00
|
|
|
|
2017-01-04 21:39:10 +00:00
|
|
|
tpmtotp_target := \
|
|
|
|
CC="$(heads_cc)" \
|
|
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
2016-08-19 21:25:44 +00:00
|
|
|
|
|
|
|
tpmtotp_output := \
|
2016-09-09 21:24:52 +00:00
|
|
|
totp \
|
|
|
|
base32 \
|
|
|
|
qrenc \
|
|
|
|
sealtotp.sh \
|
|
|
|
unsealtotp.sh \
|
2016-12-26 14:52:40 +00:00
|
|
|
util/tpm \
|
2016-08-02 23:25:47 +00:00
|
|
|
|
2016-09-10 21:36:36 +00:00
|
|
|
tpmtotp_libraries := \
|
|
|
|
libtpm/libtpm.so \
|
|
|
|
|
2016-08-02 23:25:47 +00:00
|
|
|
tpmtotp_configure :=
|