![Romain Naour](/assets/img/avatar_default.png)
Connman doesn't build with musl toolchains due to several "classic"
musl issues [1] (mixes userspace and kernel headers, missing header)
Upstream received some fixes [2] but they are not yet merged.
Also, gresolv.c use res_ninit() function which is not available
with musl. A fix from Alpinelinux is available [3] but it require
some invasive changes.
Disable connman for musl toolchains for now, and wait for upstream
fixes.
[1] http://wiki.musl-libc.org/wiki/FAQ
[2] https://lists.01.org/pipermail/connman/2016-August/000880.html
https://lists.01.org/pipermail/connman/2016-August/000881.html
https://lists.01.org/pipermail/connman/2016-August/000882.html
[3] d08f9d7145
Fixes:
http://autobuild.buildroot.net/results/e88/e88b4dbd4b79fc983b8f7d33da3287966854f8ca
[...]
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
792 B
Plaintext
23 lines
792 B
Plaintext
comment "connman-gtk needs libgtk3 and a glibc or uClibc toolchain w/ wchar, threads, resolver, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
BR2_STATIC_LIBS || !BR2_PACKAGE_LIBGTK3 || \
|
|
BR2_TOOLCHAIN_USES_MUSL
|
|
|
|
config BR2_PACKAGE_CONNMAN_GTK
|
|
bool "connman-gtk"
|
|
depends on BR2_USE_WCHAR # libglib2, connman
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, connman
|
|
depends on BR2_USE_MMU # libglib2
|
|
depends on !BR2_STATIC_LIBS # connman
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # connman
|
|
depends on !BR2_TOOLCHAIN_USES_MUSL # connman
|
|
depends on BR2_PACKAGE_LIBGTK3
|
|
select BR2_PACKAGE_CONNMAN
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
help
|
|
GTK GUI for ConnMan.
|
|
|
|
https://github.com/jgke/connman-gtk
|