2017-03-31 11:18:46 -04:00
|
|
|
modules-$(CONFIG_TPMTOTP) += tpmtotp
|
2016-08-02 19:25:47 -04:00
|
|
|
|
2016-12-29 18:23:08 -05:00
|
|
|
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
2016-08-02 19:25:47 -04:00
|
|
|
|
2018-06-01 12:36:21 -04:00
|
|
|
tpmtotp_version := git
|
2017-03-27 06:41:38 -04:00
|
|
|
tpmtotp_repo := https://github.com/osresearch/tpmtotp
|
2016-08-19 17:25:44 -04:00
|
|
|
|
2018-06-01 12:36:21 -04:00
|
|
|
#tpmtotp_version := 0.3.0
|
2016-08-02 19:25:47 -04:00
|
|
|
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
|
2017-02-01 11:21:53 -05:00
|
|
|
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
|
|
|
|
tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/v$(tpmtotp_version).tar.gz
|
2017-02-01 11:50:02 -05:00
|
|
|
tpmtotp_hash := e8205aa3d19e536080f5974ed06ab9a88c4c3f37870c2f6a3a08a2f39302c22c
|
2016-08-19 17:25:44 -04:00
|
|
|
|
2017-01-04 16:39:10 -05:00
|
|
|
tpmtotp_target := \
|
2017-04-08 13:23:34 -04:00
|
|
|
$(CROSS_TOOLS) \
|
2017-01-04 16:39:10 -05:00
|
|
|
CFLAGS="-I$(INSTALL)/include" \
|
|
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
2016-08-19 17:25:44 -04:00
|
|
|
|
|
|
|
tpmtotp_output := \
|
2016-09-09 17:24:52 -04:00
|
|
|
totp \
|
2018-06-01 12:36:21 -04:00
|
|
|
hotp \
|
2016-09-09 17:24:52 -04:00
|
|
|
base32 \
|
|
|
|
qrenc \
|
2016-12-26 09:52:40 -05:00
|
|
|
util/tpm \
|
2016-08-02 19:25:47 -04:00
|
|
|
|
2016-09-10 17:36:36 -04:00
|
|
|
tpmtotp_libraries := \
|
|
|
|
libtpm/libtpm.so \
|
|
|
|
|
2016-08-02 19:25:47 -04:00
|
|
|
tpmtotp_configure :=
|