| config BR2_PACKAGE_SIMPLERAMFS |
| bool "simpleramfs" |
| select BR2_PACKAGE_TOYBOX |
| select BR2_PACKAGE_TOOLBOX |
| select BR2_PACKAGE_DASH |
| select BR2_PACKAGE_UTIL_LINUX |
| select BR2_PACKAGE_MTD |
| select BR2_PACKAGE_LVM2 if !BR2_TARGET_ROOTFS_RECOVERYFS |
| select BR2_PACKAGE_UTIL_LINUX_MOUNT |
| depends on !BR2_TARGET_ROOTFS_INITRAMFS |
| help |
| Generate the simplest possible initramfs for finding, |
| verifying, and mounting the squashfs that contains the "real" |
| root filesystem. |
| |
| config BR2_PACKAGE_SIMPLERAMFS_LINKED_IN |
| bool "Bake the simpleramfs into the kernel image." |
| default y |
| depends on BR2_PACKAGE_SIMPLERAMFS |
| help |
| Turn the simpleramfs into the initramfs compiled into the kernel image. |
| |
| if BR2_PACKAGE_SIMPLERAMFS |
| |
| choice |
| prompt "Compression algorithm" |
| default BR2_PACKAGE_SIMPLERAMFS_GZIP |
| depends on !BR2_PACKAGE_SIMPLERAMFS_LINKED_IN |
| help |
| Select the compression algorithm for the simpleramfs image. |
| |
| config BR2_PACKAGE_SIMPLERAMFS_GZIP |
| bool "gzip" |
| |
| config BR2_PACKAGE_SIMPLERAMFS_XZ |
| bool "xz" |
| |
| endchoice |
| |
| endif |