From 6229a31f8d7e5e38a98055f2a99b4f74683b394c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= Date: Fri, 30 Sep 2022 16:13:50 +0200 Subject: [PATCH] package/fwts: enable for arm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The FWTS application and its associated kernel modules do build on arm; enable it. Signed-off-by: Vincent Stehlé Cc: Erico Nunes [yann.morin.1998@free.fr: introduce _ARCH_SUPPORTS, sort alphabetically] Signed-off-by: Yann E. MORIN --- package/fwts/Config.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 || \