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