xref: /OK3568_Linux_fs/buildroot/fs/cramfs/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_TARGET_ROOTFS_CRAMFS
2	bool "cramfs root filesystem"
3	help
4	  Build a cramfs root filesystem
5
6	  https://github.com/npitre/cramfs-tools
7
8if BR2_TARGET_ROOTFS_CRAMFS
9
10config BR2_TARGET_ROOTFS_CRAMFS_XIP
11	bool "Support XIP of all ELF files"
12	help
13	  For ELF files, uncompressed and properly aligned data blocks
14	  will be automatically be mapped directly into user space
15	  whenever possible providing eXecute-In-Place (XIP) from ROM
16	  of read-only segments. Data segments mapped read-write
17	  (hence they have to be copied to RAM) may still be
18	  compressed in the cramfs image in the same file along with
19	  non compressed read-only segments. Both MMU and no-MMU
20	  systems are supported. This is particularly handy for tiny
21	  embedded systems with very tight memory constraints.
22
23	  The CRAMFS_MTD Kconfig option must also be enabled in a
24	  4.15+ kernel.
25
26endif # BR2_TARGET_ROOTFS_CRAMFS
27