buildroot: add options to build the kernel for NFS boot
[openwrt/openwrt.git] / config / Config-kernel.in
index c93bbde511ac7d008275054246d701c832da0cd9..8ea11ed4d1f3b8de7e9a08605aa9ebc1bb1c3d5d 100644 (file)
@@ -590,3 +590,37 @@ if KERNEL_IPV6
                def_bool n
 
 endif
                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