Config.in 739 B

123456789101112131415161718192021222324
  1. config BR2_PACKAGE_LIBSPDM_CPU_FAMILY
  2. string
  3. # OpenSSL doesn't support "arc" (BR2_arcle || BR2_arceb), "arm"
  4. # (if BR2_arm || BR2_armeb) or "riscv32"/"riscv6"
  5. # (BR2_riscv && BR2_RISCV_32/BR2_RISCV_64). So we don't
  6. # support those here
  7. default "aarch64" if BR2_aarch64 || BR2_aarch64_be
  8. default "ia32" if BR2_i386
  9. default "x64" if BR2_x86_64
  10. config BR2_PACKAGE_LIBSPDM_ARCH_SUPPORTS
  11. bool
  12. default y if BR2_PACKAGE_LIBSPDM_CPU_FAMILY != ""
  13. config BR2_PACKAGE_LIBSPDM
  14. bool "libspdm"
  15. depends on BR2_PACKAGE_LIBSPDM_ARCH_SUPPORTS
  16. select BR2_PACKAGE_OPENSSL
  17. select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
  18. help
  19. libspdm is a sample implementation that follows
  20. the DMTF SPDM specifications
  21. https://github.com/DMTF/libspdm