Author: florian
Date: 2016-02-01 02:06:39 +0100 (Mon, 01 Feb 2016)
New Revision: 48590

Modified:
   trunk/config/Config-kernel.in
Log:
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 <[email protected]>

Modified: trunk/config/Config-kernel.in
===================================================================
--- trunk/config/Config-kernel.in       2016-01-31 23:29:41 UTC (rev 48589)
+++ trunk/config/Config-kernel.in       2016-02-01 01:06:39 UTC (rev 48590)
@@ -590,3 +590,37 @@
                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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to