瀏覽代碼

Hint at 'enable RPC' requirement for nfs-utils and portmap

Ulf Samuelsson 18 年之前
父節點
當前提交
2cc7e8e2c9
共有 2 個文件被更改,包括 8 次插入0 次删除
  1. 4 0
      package/nfs-utils/Config.in
  2. 4 0
      package/portmap/Config.in

+ 4 - 0
package/nfs-utils/Config.in

@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NFS_UTILS
 config BR2_PACKAGE_NFS_UTILS
 	bool "nfs-utils"
 	bool "nfs-utils"
+	depends on BR2_INET_RPC
 	default n
 	default n
 	help
 	help
 	  The NFS Linux kernel server.
 	  The NFS Linux kernel server.
@@ -8,6 +9,9 @@ config BR2_PACKAGE_NFS_UTILS
 
 
 	  http://sourceforge.net/projects/nfs
 	  http://sourceforge.net/projects/nfs
 
 
+comment "nfs-utils requires a toolchain with 'Enable RPC' selected"
+	depends on !BR2_INET_RPC
+
 menu "NFS utilities selection"
 menu "NFS utilities selection"
 	depends BR2_PACKAGE_NFS_UTILS
 	depends BR2_PACKAGE_NFS_UTILS
 
 

+ 4 - 0
package/portmap/Config.in

@@ -1,7 +1,11 @@
 config BR2_PACKAGE_PORTMAP
 config BR2_PACKAGE_PORTMAP
 	bool "portmap"
 	bool "portmap"
 	default n
 	default n
+	depends on BR2_INET_RPC
 	help
 	help
 	  The standard portmapper for RPC services.
 	  The standard portmapper for RPC services.
 
 
 	  ftp://ftp.porcupine.org/pub/security/index.html
 	  ftp://ftp.porcupine.org/pub/security/index.html
+
+comment "portmap requires a toolchain with 'Enable RPC' selected"
+	depends on !BR2_INET_RPC