aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2016-02-01 01:06:39 +0000
committerFlorian Fainelli <florian@openwrt.org>2016-02-01 01:06:39 +0000
commitce38160130f53e9bef2c36806740907b150fe7f2 (patch)
tree76e236303470dccbb9e228b877bb8f0fedb52295 /config
parentc23de752bc511c937d1eabc222378b554f6ecdd0 (diff)
downloadmaster-187ad058-ce38160130f53e9bef2c36806740907b150fe7f2.tar.gz
master-187ad058-ce38160130f53e9bef2c36806740907b150fe7f2.tar.bz2
master-187ad058-ce38160130f53e9bef2c36806740907b150fe7f2.zip
buildroot: add options to build the kernel for NFS boot
Add the basic set of kernel options to allow it from mounting a NFS root and boot from it. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48590 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'config')
-rw-r--r--config/Config-kernel.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index c93bbde511..8ea11ed4d1 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -590,3 +590,37 @@ if KERNEL_IPV6
def_bool n
endif
+
+#
+# NFS related symbols
+#
+config KERNEL_IP_PNP
+ bool "Compile the kernel with rootfs on NFS"
+ help
+ If you want to make your kernel boot off a NFS server as root
+ filesystem, select Y here.
+
+if KERNEL_IP_PNP
+
+ config KERNEL_IP_PNP_DHCP
+ def_bool y
+
+ config KERNEL_IP_PNP_BOOTP
+ def_bool n
+
+ config KERNEL_IP_PNP_RARP
+ def_bool n
+
+ config KERNEL_NFS_FS
+ def_bool y
+
+ config KERNEL_NFS_V2
+ def_bool y
+
+ config KERNEL_NFS_V3
+ def_bool y
+
+ config KERNEL_ROOT_NFS
+ def_bool y
+
+endif