kodi: Without native RPC use libtirpc
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sun, 4 Oct 2015 15:19:43 +0000 (17:19 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Oct 2015 15:25:18 +0000 (16:25 +0100)
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
----
v2 -> v3:
   - Remove the select (not needed, we only have to propagate the
     depends on)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kodi/Config.in

index 797f59d7c5f8e829e1654084f09ffba5e27653c8..eede24328dcb5c917f52854040dfc852aa5df763 100644 (file)
@@ -181,13 +181,14 @@ config BR2_PACKAGE_KODI_LIBMICROHTTPD
 
 config BR2_PACKAGE_KODI_LIBNFS
        bool "nfs"
-       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+       # libnfs -> libtirpc
+       depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_LIBNFS
        help
          Enable NFS server support.
 
-comment "nfs support needs a toolchain w/ RPC support"
-       depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
+comment "nfs support needs a toolchain w/ threads support"
+       depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC)
 
 config BR2_PACKAGE_KODI_RTMPDUMP
        bool "rtmp"