package/ell: needs headers >= 4.12
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 5 Jun 2020 19:48:25 +0000 (21:48 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 5 Jun 2020 20:09:21 +0000 (22:09 +0200)
ell needs headers >= 4.12 since version 0.31 and
https://git.kernel.org/pub/scm/libs/ell/ell.git/commit?id=fa950995a48bbcd8f0d3dfbbe9a7f768aba5c50f

Indeed NLM_F_CAPPED, NLM_F_ACK_TLVS, NLMSGERR_ATTR_MSG and
NETLINK_EXT_ACK are only available since
https://github.com/torvalds/linux/commit/2d4bc93368f5a0ddb57c8c885cdad9c9b7a10ed5

So add this dependency to ell and its reverse dependencies

Fixes:
 - http://autobuild.buildroot.org/results/bafc0ee2a3bcb2418a3612da38eb9dcd586b57d4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/bluez5_utils/Config.in
package/connman/Config.in
package/ell/Config.in
package/iwd/Config.in
package/ofono/Config.in

index 1e9eda31dcc6c66c7ddfe0508a55c8458699a302..73c6f0132459ef65f6df5d5226ff55ababbff871 100644 (file)
@@ -62,12 +62,16 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH
 
 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
index 614b826f96bfaef3bedbd4920f198e82a34d6004..72b76bf19d7292dd9ecd19ec8a16c02f614368b9 100644 (file)
@@ -85,8 +85,12 @@ config BR2_PACKAGE_CONNMAN_NEARD
 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"
 
index f27d581f98c6a9fe543ba7351204b51f0e018ae9..d3371548781d267fd242415495943b5ecdda8d43 100644 (file)
@@ -1,6 +1,7 @@
 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
@@ -8,6 +9,7 @@ config BR2_PACKAGE_ELL
 
          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
index c790f3dba1d46b425c401a452cb5711aac7124cd..eff24a8599c707a0ffade8fd06df5bca85afe0a3 100644 (file)
@@ -1,6 +1,7 @@
 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
@@ -9,6 +10,7 @@ config BR2_PACKAGE_IWD
 
          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
index 57ee4bc53628b5f4ff99851cdb50c5985c83c44f..c1d0cae4effc7ab0bcb609512a48a0e0ad266548 100644 (file)
@@ -5,6 +5,7 @@ config BR2_PACKAGE_OFONO
        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
@@ -17,7 +18,9 @@ config BR2_PACKAGE_OFONO
 
          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