Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
config BR2_PACKAGE_TPM2_TOOLS
bool "tpm2-tools"
depends on !BR2_STATIC_LIBS # tpm2-tss
depends on BR2_USE_WCHAR
# c16rtomb() not implemented in uClibc
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_TPM2_TSS
help
TPM (Trusted Platform Module) 2.0 CLI tools based on system
API of TPM2-TSS. These tools can be used to manage keys,
perform encryption/decryption/signing/etc crypto operations,
and manage non-volatile storage through a TPM2.0 HW
implementation.
Notice: An in-kernel resource manager is provided by the
Linux kernel since 4.12. Depending on use cases and kernel
version, the user space resource manager provided by
tpm2-abrmd may be needed.
https://github.com/tpm2-software/tpm2-tools
if BR2_PACKAGE_TPM2_TOOLS
config BR2_PACKAGE_TPM2_TOOLS_FAPI
bool "fapi tools"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_PACKAGE_MBEDTLS # tss-fapi
select BR2_PACKAGE_TPM2_TSS_FAPI
help
This option enables Feature API (FAPI) support in
tpm2-tools. The FAPI tools are prefixed with tss2_.
comment "fapi-tools not supported with Mbed TLS backend"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_PACKAGE_MBEDTLS
endif
comment "tpm2-tools needs a glibc or musl toolchain w/ dynamic library, wchar"
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
!(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)

View File

@@ -0,0 +1,3 @@
# Locally computed:
sha256 3810d36b5079256f4f2f7ce552e22213d43b1031c131538df8a2dbc3c570983a tpm2-tools-5.7.tar.gz
sha256 f6995d52c8b8e4d2c3bace7fc9c330a77a90d808166fbad4d7ead7e8ba2fc66c docs/LICENSE

View File

@@ -0,0 +1,29 @@
################################################################################
#
# tpm2-tools
#
################################################################################
TPM2_TOOLS_VERSION = 5.7
TPM2_TOOLS_SITE = https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSION)
TPM2_TOOLS_LICENSE = BSD-3-Clause
TPM2_TOOLS_LICENSE_FILES = docs/LICENSE
TPM2_TOOLS_CPE_ID_VALID = YES
TPM2_TOOLS_SELINUX_MODULES = tpm2
TPM2_TOOLS_DEPENDENCIES = libcurl openssl tpm2-tss host-pkgconf
# -fstack-protector-all and FORTIFY_SOURCE=2 is used by
# default. Disable that so the BR2_SSP_* / BR2_FORTIFY_SOURCE_* options
# in the toolchain wrapper and CFLAGS are used instead
TPM2_TOOLS_CONF_OPTS = --disable-hardening
# do not build man pages
TPM2_TOOLS_CONF_ENV += ac_cv_prog_PANDOC=''
ifeq ($(BR2_PACKAGE_TPM2_TOOLS_FAPI),y)
TPM2_TOOLS_CONF_OPTS += --enable-fapi
else
TPM2_TOOLS_CONF_OPTS += --disable-fapi
endif
$(eval $(autotools-package))