xref: /OK3568_Linux_fs/buildroot/package/sedutil/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_SEDUTIL_ARCH_SUPPORTS
2*4882a593Smuzhiyun	bool
3*4882a593Smuzhiyun	# no big endian support
4*4882a593Smuzhiyun	default y if BR2_arcle || BR2_arm || BR2_aarch64 || BR2_csky \
5*4882a593Smuzhiyun	       || BR2_i386 || BR2_microblazeel || BR2_mipsel \
6*4882a593Smuzhiyun	       || BR2_mips64el || BR2_nios2 || BR2_powerpc64le \
7*4882a593Smuzhiyun	       || BR2_sh4 || BR2_sh4a || BR2_x86_64 \
8*4882a593Smuzhiyun	       || BR2_XTENSA_LITTLE_ENDIAN
9*4882a593Smuzhiyun
10*4882a593Smuzhiyunconfig BR2_PACKAGE_SEDUTIL
11*4882a593Smuzhiyun	bool "sedutil"
12*4882a593Smuzhiyun	depends on BR2_PACKAGE_SEDUTIL_ARCH_SUPPORTS
13*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # linux/nvme.h
14*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
15*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS # 4.4.1 headers
16*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun	  The Drive Trust Alliance Self Encrypting Drive Utility,
19*4882a593Smuzhiyun	  allowing configuration the SEDs that comply with the
20*4882a593Smuzhiyun	  TCG OPAL 2.00 standard.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun          https://github.com/Drive-Trust-Alliance/sedutil
23*4882a593Smuzhiyun
24*4882a593Smuzhiyuncomment "sedutil needs a toolchain w/ C++, gcc >= 4.8, headers >= 3.12"
25*4882a593Smuzhiyun	depends on BR2_PACKAGE_SEDUTIL_ARCH_SUPPORTS
26*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS
27*4882a593Smuzhiyun	depends on !BR2_INSTALL_LIBSTDCPP || \
28*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
29*4882a593Smuzhiyun		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
30