heads/modules/tpmtotp
Trammell Hudson 58ff95818e
Working build with musl-libc cross compiler (issue #77).
Pass in the --host argument to all of the various programs
that need to treat the configure scripts as cross compilation
targets.

This removes all dependencies on the host libc (issue #7)
and adds some tools to the initrd (cryptsetup #46).
2017-01-04 16:39:10 -05:00

31 lines
687 B
Plaintext

modules += tpmtotp
tpmtotp_depends := mbedtls qrencode $(musl_dep)
tpmtotp_version := git
tpmtotp_repo := https://github.com/osresearch/tpmtotp
#tpmtotp_version := 0.0.1
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
#tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
#tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/v0.0.1.tar.gz
#tpmtotp_hash := 8bf2380248fea540a96ad0ff8a4f170b8d93b6bb5fe49b958f9f1926f994823f
tpmtotp_target := \
CC="$(heads_cc)" \
CFLAGS="-I$(INSTALL)/include" \
LDFLAGS="-L$(INSTALL)/lib" \
tpmtotp_output := \
totp \
base32 \
qrenc \
sealtotp.sh \
unsealtotp.sh \
util/tpm \
tpmtotp_libraries := \
libtpm/libtpm.so \
tpmtotp_configure :=