kumquat-buildroot/package/tio/Config.in
Fabrice Fontaine 01f24d041d package/tio: needs threads
tio needs threads since version 2.4 and
93e6efc001
resulting in the following build failure since bump to version 2.7 in
commit 4b33d7a47d:

In file included from /home/autobuild/autobuild/instance-7/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:27,
                 from ../src/tty.c:23:
/home/autobuild/autobuild/instance-7/output-1/host/riscv64-buildroot-linux-uclibc/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp]
  218 | #   warning requested reentrant code, but thread support was disabled
      |     ^~~~~~~
../src/tty.c:43:10: fatal error: pthread.h: No such file or directory
   43 | #include <pthread.h>
      |          ^~~~~~~~~~~

Fixes: 4b33d7a47d
 - http://autobuild.buildroot.org/results/9b20ff06a0ad24b7e7f4750ebe64e2077e36164a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-02-24 18:11:10 +01:00

22 lines
727 B
Plaintext

config BR2_PACKAGE_TIO
bool "tio"
depends on !BR2_sparc64 && !BR2_sparc
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_INIH
help
"tio" is a simple TTY terminal application which features a
straightforward commandline interface to easily connect to
TTY devices for basic input/output.
https://tio.github.io/
# tio is disabled for sparc and sparc64 architectures because it fails
# to build with a redefinition of 'struct termio' error, with no proper
# fix or workaround for now
comment "tio is disabled for sparc and sparc64 architectures"
depends on BR2_sparc64 || BR2_sparc
comment "tio needs a toolchain w/ threads"
depends on !BR2_sparc64 && !BR2_sparc
depends on !BR2_TOOLCHAIN_HAS_THREADS