package/iwd: needs dbus (runtime)
authorPeter Seiderer <ps.report@gmx.net>
Fri, 12 Jun 2020 23:24:31 +0000 (01:24 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 14 Jun 2020 09:42:41 +0000 (11:42 +0200)
Fixes (on startup):

  $ usr/libexec/iwd
  Wireless daemon version 1.7
  Failed to initialize D-Bus

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr:
  - move MMU dependency first
  - split long line in comment dependencies
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/iwd/Config.in

index eff24a8599c707a0ffade8fd06df5bca85afe0a3..ec53d13047330dbe85089007d91baaa43c812b67 100644 (file)
@@ -1,16 +1,20 @@
 config BR2_PACKAGE_IWD
        bool "iwd"
+       depends on BR2_USE_MMU # dbus
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
        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_DBUS # runtime
        select BR2_PACKAGE_ELL
        help
          iNet Wireless daemon (iwd)
 
          https://iwd.wiki.kernel.org/
 
-comment "iwd needs a toolchain w/ dynamic library, wchar, headers >= 4.12"
+comment "iwd needs a toolchain w/ threads, dynamic library, wchar, headers >= 4.12"
+       depends on BR2_USE_MMU # dbus
        depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ell
-       depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+               !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12