[Buildroot] [git commit branch/2022.11.x] package/tealdeer: exclude unsupported targets

Peter Korsgaard peter at korsgaard.com
Wed Dec 21 15:38:52 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=f0443c3ece12a9e8340241901f6e732d1a452a78
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.11.x

Not all target architectures are supported by the "ring" dependency:
  - mips:    https://github.com/briansmith/ring/issues/562
  - PowerPC: https://github.com/briansmith/ring/issues/389
  - Sparc:   https://github.com/briansmith/ring/issues/1512
  - s390x:   https://github.com/briansmith/ring/commit/4d2e1a8fb80398f7c3c0137ea8fdd512f82d37a0

Signed-off-by: Danilo Bargen <mail at dbrgn.ch>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 22bdfbdfc72681f552ae346a110d81b98ec477e3)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/tealdeer/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/tealdeer/Config.in b/package/tealdeer/Config.in
index 96ed81614b..662a937ce1 100644
--- a/package/tealdeer/Config.in
+++ b/package/tealdeer/Config.in
@@ -1,6 +1,11 @@
 config BR2_PACKAGE_TEALDEER
 	bool "tealdeer"
 	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+	# Crypto dependency (ring) not available for mips, PowerPC, Sparc, s390x
+	depends on !(BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el)
+	depends on !(BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le)
+	depends on !(BR2_sparc || BR2_sparc64)
+	depends on !BR2_s390x
 	select BR2_PACKAGE_HOST_RUSTC
 	help
 	  A fast and full-featured tldr client. tldr pages are



More information about the buildroot mailing list