Re: 2.6.19-rc2-mm2

From: Jiri Kosina
Date: Fri Oct 20 2006 - 20:38:08 EST


On Sat, 21 Oct 2006, J.A. Magallón wrote:

> Stupid question: how can I build sunrpc as a module ? I have digged
> through menuconfig and gconfig and am not able to set SUNRPC=m, it just
> gets autoselected y/n by other options.

CONFIG_SUNRPC is set to the value to which you set CONFIG_NFS_FS - look at
option NFS_FS in fs/Kconfig:

config NFS_FS
tristate "NFS file system support"
depends on INET
select LOCKD
select SUNRPC
select NFS_ACL_SUPPORT if NFS_V3_ACL

So if you want sunrpc to be built as module, set CONFIG_NFS_FS "NFS
filesystem support" to M. It just works(tm).

--
Jiri Kosina