xref: /OK3568_Linux_fs/buildroot/package/fwts/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_FWTS
2*4882a593Smuzhiyun	bool "fwts"
3*4882a593Smuzhiyun	depends on BR2_i386 || BR2_x86_64 || BR2_aarch64
4*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS # libbsd
5*4882a593Smuzhiyun	depends on BR2_USE_MMU # libglib2
6*4882a593Smuzhiyun	depends on BR2_USE_WCHAR # libglib2, libbsd
7*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libbsd
8*4882a593Smuzhiyun	depends on !BR2_STATIC_LIBS # libbsd
9*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h
10*4882a593Smuzhiyun	select BR2_PACKAGE_LIBGLIB2
11*4882a593Smuzhiyun	select BR2_PACKAGE_LIBBSD
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun	  Firmware Test Suite (FWTS) is a test suite that performs
14*4882a593Smuzhiyun	  sanity checks on firmware. It is intended to identify BIOS and
15*4882a593Smuzhiyun	  ACPI errors and if appropriate it will try to explain the
16*4882a593Smuzhiyun	  errors and give advice to help workaround or fix firmware
17*4882a593Smuzhiyun	  bugs.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun	  dtc (libfdt) is an optional dependency for fdt related tests.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun	  https://wiki.ubuntu.com/FirmwareTestSuite
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunif BR2_PACKAGE_FWTS
24*4882a593Smuzhiyunconfig BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE
25*4882a593Smuzhiyun	bool "efi_runtime module"
26*4882a593Smuzhiyun	depends on BR2_LINUX_KERNEL
27*4882a593Smuzhiyun	help
28*4882a593Smuzhiyun	  Firmware Test Suite (FWTS) provides a EFI runtime kernel
29*4882a593Smuzhiyun	  module required to run UEFI tests.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyuncomment "efi_runtime module needs a Linux kernel to be built"
32*4882a593Smuzhiyun	depends on !BR2_LINUX_KERNEL
33*4882a593Smuzhiyunendif
34*4882a593Smuzhiyun
35*4882a593Smuzhiyuncomment "fwts needs a glibc toolchain w/ wchar, threads, dynamic library"
36*4882a593Smuzhiyun	depends on BR2_i386 || BR2_x86_64 || BR2_aarch64
37*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS # libbsd
38*4882a593Smuzhiyun	depends on BR2_USE_MMU
39*4882a593Smuzhiyun	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
40*4882a593Smuzhiyun		!BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS
41