1config 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
11config BR2_PACKAGE_LIBSPDM_ARCH_SUPPORTS
12	bool
13	default y if BR2_PACKAGE_LIBSPDM_CPU_FAMILY != ""
14
15config BR2_PACKAGE_LIBSPDM
16	bool "libspdm"
17	depends on BR2_PACKAGE_LIBSPDM_ARCH_SUPPORTS
18	select BR2_PACKAGE_OPENSSL
19	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
20	help
21	  libspdm is a sample implementation that follows
22	  the DMTF SPDM specifications
23
24	  https://github.com/DMTF/libspdm
25