package/python-tpm2-pytss: add missing 'depends on'

In commit
c72c6f26ed ("package/python-tpm2-pytss:
new package"), when the package was introduced, a dependency of a
package being selected was not properly propagated:
BR2_PACKAGE_PYTHON_CRYPTOGRAPHY depends on
BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS, so we should replicate
this dependency.

Fixes:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_CRYPTOGRAPHY
  Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n]
  Selected by [y]:
  - BR2_PACKAGE_PYTHON_TPM2_PYTSS [=y] && BR2_PACKAGE_PYTHON3 [=y] && !BR2_STATIC_LIBS [=n]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Thomas Petazzoni
2024-08-15 22:23:54 +02:00
committed by Yann E. MORIN
parent b8160fb464
commit c025a655c6

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_PYTHON_TPM2_PYTSS
bool "python-tpm2-pytss"
depends on !BR2_STATIC_LIBS # tpm2-tss
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
select BR2_PACKAGE_PYTHON_ASN1CRYPTO # runtime
select BR2_PACKAGE_PYTHON_CFFI # runtime
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
@@ -11,4 +12,5 @@ config BR2_PACKAGE_PYTHON_TPM2_PYTSS
https://github.com/tpm2-software/tpm2-pytss
comment "python-tpm2-pytss needs a toolchain w/ dynamic library"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on BR2_STATIC_LIBS