config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH
bool "build mesh profile"
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ell
select BR2_PACKAGE_ELL
select BR2_PACKAGE_JSON_C
select BR2_PACKAGE_READLINE
help
Build BlueZ 5.x mesh plugin
+comment "mesh profile needs a toolchain w/ headers >= 4.12"
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
+
config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI
bool "build midi profile"
select BR2_PACKAGE_ALSA_LIB
config BR2_PACKAGE_CONNMAN_OFONO
bool "enable ofono support"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ofono
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ofono
select BR2_PACKAGE_OFONO
+comment "ofono support needs a toolchain w/ headers >= 4.12"
+ depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
+
config BR2_PACKAGE_CONNMAN_DEBUG
bool "enable compiling with debugging information"
config BR2_PACKAGE_ELL
bool "ell"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR
help
https://01.org/ell
-comment "ell needs a toolchain w/ dynamic library, wchar"
+comment "ell needs a toolchain w/ dynamic library, wchar, headers >= 4.12"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
- depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
+ depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
config BR2_PACKAGE_IWD
bool "iwd"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ell
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ell
depends on !BR2_STATIC_LIBS # ell
depends on BR2_USE_WCHAR # ell
select BR2_PACKAGE_ELL
https://iwd.wiki.kernel.org/
-comment "iwd needs a toolchain w/ dynamic library, wchar"
+comment "iwd needs a toolchain w/ dynamic library, wchar, headers >= 4.12"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ell
- depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
+ depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
depends on BR2_USE_MMU # dbus, libglib2
depends on !BR2_STATIC_LIBS # dlopen(), ell
depends on BR2_TOOLCHAIN_HAS_SYNC_4
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ell
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_ELL
select BR2_PACKAGE_LIBCAP_NG
http://ofono.org/
-comment "ofono needs a toolchain w/ dynamic library, wchar, threads"
+comment "ofono needs a toolchain w/ dynamic library, wchar, threads, headers >= 4.12"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
- depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
+ !BR2_TOOLCHAIN_HAS_THREADS || \
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12