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