mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +00:00
907e906f01
Adresses @easrentai suggestion to pass modules build optimization for space here: #590 (comment) - Uniformized module's $(CROSS_TOOLS) being passed as environment variable, prior of ./configure call Doesn't work for: - busybox (HOSTCXXFLAGS="-Os" attempted prior of ./configure call) - zlib (CFLAGS="-Os" attempted prior of ./configure call) - npth (CFLAGS="-Os" attempted prior of ./configure call)
30 lines
727 B
Makefile
30 lines
727 B
Makefile
modules-$(CONFIG_TPMTOTP) += tpmtotp
|
|
|
|
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
|
|
|
#tpmtotp_version := git
|
|
#tpmtotp_repo := https://github.com/osresearch/tpmtotp
|
|
|
|
tpmtotp_version := 18b860fdcf5a55537c8395b891f2b2a5c24fc00a
|
|
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
|
|
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
|
|
tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/$(tpmtotp_version).tar.gz
|
|
tpmtotp_hash := 1082f2b0e4af833e04220dddedcc21a39eb39ee4dc5668bb010e7bcc795c606c
|
|
|
|
tpmtotp_target := \
|
|
$(CROSS_TOOLS) \
|
|
CFLAGS="-I$(INSTALL)/include -Os" \
|
|
LDFLAGS="-L$(INSTALL)/lib" \
|
|
|
|
tpmtotp_output := \
|
|
totp \
|
|
hotp \
|
|
base32 \
|
|
qrenc \
|
|
util/tpm \
|
|
|
|
tpmtotp_libraries := \
|
|
libtpm/libtpm.so \
|
|
|
|
tpmtotp_configure :=
|