Преглед изворни кода

package/fwts: enable for arm

The FWTS application and its associated kernel modules do build on arm;
enable it.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Erico Nunes <nunes.erico@gmail.com>
[yann.morin.1998@free.fr: introduce _ARCH_SUPPORTS, sort alphabetically]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Vincent Stehlé пре 2 година
родитељ
комит
6229a31f8d
1 измењених фајлова са 9 додато и 2 уклоњено
  1. 9 2
      package/fwts/Config.in

+ 9 - 2
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 || \