mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
8e3f715a7f
Since CONFIG_RAMFS is currently hard-selected to "y", and since Documentation/filesystems/ramfs-rootfs-initramfs.txt reads as follows: "The amount of code required to implement ramfs is tiny, because all the work is done by the existing Linux caching infrastructure. Basically, you're mounting the disk cache as a filesystem. Because of this, ramfs is not an optional component removable via menuconfig, since there would be negligible space savings." It seems pointless to leave this as a Kconfig entry. Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
10 lines
164 B
Makefile
10 lines
164 B
Makefile
#
|
|
# Makefile for the linux ramfs routines.
|
|
#
|
|
|
|
obj-y += ramfs.o
|
|
|
|
file-mmu-y := file-nommu.o
|
|
file-mmu-$(CONFIG_MMU) := file-mmu.o
|
|
ramfs-objs += inode.o $(file-mmu-y)
|