Config.in 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. config BR2_TARGET_ROOTFS_CPIO
  2. bool "cpio the root filesystem (for use as an initial RAM filesystem)"
  3. help
  4. Build a cpio archive of the root filesystem. This is typically
  5. used for an initial RAM filesystem that is passed to the
  6. kernel by the bootloader.
  7. if BR2_TARGET_ROOTFS_CPIO
  8. choice
  9. prompt "Compression method"
  10. default BR2_TARGET_ROOTFS_CPIO_NONE
  11. help
  12. Select compressor for cpio filesystem of the root filesystem.
  13. If you use the cpio archive as an initial RAM filesystem, make
  14. sure the kernel contains the decompression algorithm selected
  15. here.
  16. config BR2_TARGET_ROOTFS_CPIO_NONE
  17. bool "no compression"
  18. help
  19. Do not compress the cpio filesystem.
  20. config BR2_TARGET_ROOTFS_CPIO_GZIP
  21. bool "gzip"
  22. help
  23. Do compress the cpio filesystem with gzip.
  24. config BR2_TARGET_ROOTFS_CPIO_BZIP2
  25. bool "bzip2"
  26. help
  27. Do compress the cpio filesystem with bzip2.
  28. config BR2_TARGET_ROOTFS_CPIO_LZ4
  29. bool "lz4"
  30. help
  31. Do compress the cpio filesystem with lz4.
  32. config BR2_TARGET_ROOTFS_CPIO_LZMA
  33. bool "lzma"
  34. help
  35. Do compress the cpio filesystem with lzma.
  36. config BR2_TARGET_ROOTFS_CPIO_LZO
  37. bool "lzo"
  38. help
  39. Do compress the cpio filesystem with lzop.
  40. config BR2_TARGET_ROOTFS_CPIO_XZ
  41. bool "xz"
  42. help
  43. Do compress the cpio filesystem with xz.
  44. endchoice
  45. config BR2_TARGET_ROOTFS_CPIO_UIMAGE
  46. bool "Create U-Boot image of the root filesystem"
  47. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  48. help
  49. Add a U-Boot header to the cpio root filesystem. This allows
  50. the initramfs to be loaded with the bootm command in U-Boot.
  51. The U-Boot image will be called rootfs.cpio.uboot
  52. endif # BR2_TARGET_ROOTFS_CPIO