package/tealdeer: exclude unsupported targets

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:   4d2e1a8fb8

Signed-off-by: Danilo Bargen <mail@dbrgn.ch>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 22bdfbdfc7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022.11.x
Danilo Bargen 2022-12-08 11:02:47 +01:00 committed by Peter Korsgaard
parent a9d68487f7
commit f0443c3ece
1 changed files with 5 additions and 0 deletions

View File

@ -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