2017-03-31 15:18:46 +00:00
|
|
|
modules-$(CONFIG_TPMTOTP) += tpmtotp
|
2016-08-02 23:25:47 +00:00
|
|
|
|
2016-12-29 23:23:08 +00:00
|
|
|
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
2016-08-02 23:25:47 +00:00
|
|
|
|
2023-03-08 17:37:42 +00:00
|
|
|
tpmtotp_version := 363f1de935a77eb53972e77509f469023516d43a
|
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
|
2023-03-08 17:37:42 +00:00
|
|
|
tpmtotp_url := https://github.com/JonathonHall-Purism/tpmtotp/archive/$(tpmtotp_version).tar.gz
|
|
|
|
tpmtotp_hash := 225ba63a5e912809e40ee58d6d4ea4e4a3150fd05d97b4f4c02196be7dcd0272
|
2016-08-19 21:25:44 +00:00
|
|
|
|
2017-01-04 21:39:10 +00:00
|
|
|
tpmtotp_target := \
|
2017-04-08 17:23:34 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2023-03-01 16:12:46 +00:00
|
|
|
CFLAGS="-I$(INSTALL)/include -Os" \
|
2017-01-04 21:39:10 +00:00
|
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
2016-08-19 21:25:44 +00:00
|
|
|
|
|
|
|
tpmtotp_output := \
|
2016-09-09 21:24:52 +00:00
|
|
|
totp \
|
2018-06-01 16:36:21 +00:00
|
|
|
hotp \
|
2016-09-09 21:24:52 +00:00
|
|
|
base32 \
|
|
|
|
qrenc \
|
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 :=
|