abdc56006b
The architecture dependencies of protobuf are going to change, and they are already duplicated between protobuf, ola and mosh. In order to factorize the expression of those dependencies, this commit introduces BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS. Note that we include in this hidden Config.in option both the target architecture dependency and the host architecture dependency. Finally, this commit also fixes a real mistake in the mosh Config.in file, where the condition on the architecture dependency for the Config.in comment was inverted: we only want to show the Config.in comment when we are on supported architectures. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
810 B
Plaintext
24 lines
810 B
Plaintext
comment "mosh needs a toolchain w/ C++, threads, dynamic library"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
|
|
|| BR2_STATIC_LIBS
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
|
|
|
config BR2_PACKAGE_MOSH
|
|
bool "mosh"
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|
|
depends on BR2_INSTALL_LIBSTDCPP # protobuf
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
|
|
depends on !BR2_STATIC_LIBS # protobuf
|
|
select BR2_PACKAGE_PROTOBUF
|
|
select BR2_PACKAGE_NCURSES
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_ZLIB
|
|
# runtime dependency
|
|
select BR2_PACKAGE_OPENSSH if !BR2_PACKAGE_DROPBEAR_CLIENT
|
|
help
|
|
Remote terminal application that supports intermittent connectivity,
|
|
allows roaming, and provides speculative local echo and line editing
|
|
of user keystrokes.
|
|
|
|
https://mosh.mit.edu
|