meta-phosphor: add nfs distro feature
Add include files for NFS distro features, which enables NFS kernel
configuration and utility to mount NFS from BMC.
Tested:
1. Check if CONFIG_NFS_* are enabled
$ zcat /proc/config.gz | grep NFS
2. Mount remote NFS folder
$ mount -t nfs 10.10.130.2:/tftpboot/ISO_file /tmp/mount_nfs
Change-Id: I015f4f6ed9c5b60573340233aee1f781aa0c573a
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
diff --git a/meta-phosphor/recipes-kernel/linux/nfs/nfs.cfg b/meta-phosphor/recipes-kernel/linux/nfs/nfs.cfg
new file mode 100644
index 0000000..24a387d
--- /dev/null
+++ b/meta-phosphor/recipes-kernel/linux/nfs/nfs.cfg
@@ -0,0 +1,5 @@
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_NFS_V4=y
+CONFIG_NFS_COMMON=y
+CONFIG_NFSD=y
diff --git a/meta-phosphor/recipes-kernel/linux/nfs/nfs.scc b/meta-phosphor/recipes-kernel/linux/nfs/nfs.scc
new file mode 100644
index 0000000..7d1acba
--- /dev/null
+++ b/meta-phosphor/recipes-kernel/linux/nfs/nfs.scc
@@ -0,0 +1,3 @@
+define KFEATURE_DESCRIPTION "Enable NFS"
+
+kconf non-hardware nfs.cfg