mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
58ff95818e
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).
31 lines
687 B
Plaintext
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 :=
|