portmap: prevent selecting the package when rpcbind is selected
authorSagaert Johan <sagaert.johan@skynet.be>
Sun, 15 Jun 2014 13:05:16 +0000 (15:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 29 Jun 2014 16:18:49 +0000 (18:18 +0200)
portmap and rpcbind must not be selected at the same time. Users
should use rpcbind in favor of the deprecated portmap.

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/portmap/Config.in

index fa7eaf1e0e8cae425f1e723451f47544dcd8a41e..d960690d7b99809a10dd90258258d5e106908218 100644 (file)
@@ -1,6 +1,10 @@
 config BR2_PACKAGE_PORTMAP
        bool "portmap"
        depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
+       # portmap and rpcbind provide the same feature, so they are
+       # mutually exclusive. rpcbind is the newer, preferred
+       # implementation.
+       depends on !BR2_PACKAGE_RPCBIND
        help
          The standard portmapper for RPC services.