xref: /OK3568_Linux_fs/buildroot/fs/initramfs/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_TARGET_ROOTFS_INITRAMFS
2	bool "initial RAM filesystem linked into linux kernel"
3	depends on BR2_LINUX_KERNEL
4	select BR2_TARGET_ROOTFS_CPIO
5	help
6	  Integrate the root filesystem generated by Buildroot as an
7	  initramfs inside the kernel image. This integration will
8	  take place automatically.
9
10	  A rootfs.cpio file will be generated in the images/ directory.
11	  This is the archive that will be included in the kernel image.
12	  The default rootfs compression set in the kernel configuration
13	  is used, regardless of how buildroot's cpio archive is
14	  configured.
15
16	  Note that enabling initramfs together with another filesystem
17	  formats doesn't make sense: you would end up having two
18	  identical root filesystems, one embedded inside the kernel
19	  image, and one separately.
20
21comment "initramfs needs a Linux kernel to be built"
22	depends on !BR2_LINUX_KERNEL
23