diff --git a/package/fwts/Config.in b/package/fwts/Config.in index ac9a2e3909..08608d1dd7 100644 --- a/package/fwts/Config.in +++ b/package/fwts/Config.in @@ -1,6 +1,13 @@ +config BR2_PACKAGE_FWTS_ARCH_SUPPORTS + bool + default y if BR2_aarch64 + default y if BR2_arm + default y if BR2_i386 + default y if BR2_x86_64 + config BR2_PACKAGE_FWTS bool "fwts" - depends on BR2_i386 || BR2_x86_64 || BR2_aarch64 + depends on BR2_PACKAGE_FWTS_ARCH_SUPPORTS depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS # libbsd depends on BR2_USE_MMU # libglib2 depends on BR2_USE_WCHAR # libglib2, libbsd @@ -33,7 +40,7 @@ comment "efi_runtime module needs a Linux kernel to be built" endif comment "fwts needs a glibc toolchain w/ wchar, threads, dynamic library" - depends on BR2_i386 || BR2_x86_64 || BR2_aarch64 + depends on BR2_PACKAGE_FWTS_ARCH_SUPPORTS depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS # libbsd depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \