mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-19 04:57:55 +00:00
07eb5e9717
Each of the submodule configuration files defined a subset of the cross compiler tools that it used and many were picking up the system `ar`, `nm`, `strip, `ld`, etc. They all now use a `Makefile` macro that defines the path to the proper cross compiler tools. For ones that need the tools, but not the musl-libc gcc, there is $(CROSS_TOOLS_NOCC) that is all of them without gcc. This is for musl-libc itself, as well as xen and the Linux kernel.
31 lines
712 B
Plaintext
31 lines
712 B
Plaintext
modules-$(CONFIG_TPMTOTP) += tpmtotp
|
|
|
|
tpmtotp_depends := mbedtls qrencode $(musl_dep)
|
|
|
|
tpmtotp_version := git
|
|
tpmtotp_repo := https://github.com/osresearch/tpmtotp
|
|
|
|
#tpmtotp_version := 0.2.1
|
|
tpmtotp_dir := tpmtotp-$(tpmtotp_version)
|
|
tpmtotp_tar := tpmtotp-$(tpmtotp_version).tar.gz
|
|
tpmtotp_url := https://github.com/osresearch/tpmtotp/archive/v$(tpmtotp_version).tar.gz
|
|
tpmtotp_hash := e8205aa3d19e536080f5974ed06ab9a88c4c3f37870c2f6a3a08a2f39302c22c
|
|
|
|
tpmtotp_target := \
|
|
$(CROSS_TOOLS) \
|
|
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 :=
|