aboutsummaryrefslogtreecommitdiffstats
path: root/meta-netboot/recipes-kernel/linux
diff options
context:
space:
mode:
Diffstat (limited to 'meta-netboot/recipes-kernel/linux')
-rw-r--r--meta-netboot/recipes-kernel/linux/files/nbd.cfg1
-rw-r--r--meta-netboot/recipes-kernel/linux/files/ramdisk.cfg1
-rw-r--r--meta-netboot/recipes-kernel/linux/linux-yocto_%.bbappend6
3 files changed, 8 insertions, 0 deletions
diff --git a/meta-netboot/recipes-kernel/linux/files/nbd.cfg b/meta-netboot/recipes-kernel/linux/files/nbd.cfg
new file mode 100644
index 000000000..af37685e4
--- /dev/null
+++ b/meta-netboot/recipes-kernel/linux/files/nbd.cfg
@@ -0,0 +1 @@
+CONFIG_BLK_DEV_NBD=y
diff --git a/meta-netboot/recipes-kernel/linux/files/ramdisk.cfg b/meta-netboot/recipes-kernel/linux/files/ramdisk.cfg
new file mode 100644
index 000000000..41530dd6e
--- /dev/null
+++ b/meta-netboot/recipes-kernel/linux/files/ramdisk.cfg
@@ -0,0 +1 @@
+CONFIG_BLK_DEV_RAM=y
diff --git a/meta-netboot/recipes-kernel/linux/linux-yocto_%.bbappend b/meta-netboot/recipes-kernel/linux/linux-yocto_%.bbappend
new file mode 100644
index 000000000..88f244122
--- /dev/null
+++ b/meta-netboot/recipes-kernel/linux/linux-yocto_%.bbappend
@@ -0,0 +1,6 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
+
+# Extra configuration options for NBD support and netboot over RAMFS
+SRC_URI += "file://nbd.cfg \
+ file://ramdisk.cfg \
+ "