Move all to deprecated folder.
This commit is contained in:
21
deprecated/firmware/buildroot/fs/initramfs/Config.in
Normal file
21
deprecated/firmware/buildroot/fs/initramfs/Config.in
Normal file
@@ -0,0 +1,21 @@
|
||||
config BR2_TARGET_ROOTFS_INITRAMFS
|
||||
bool "initial RAM filesystem linked into linux kernel"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
select BR2_TARGET_ROOTFS_CPIO
|
||||
help
|
||||
Integrate the root filesystem generated by Buildroot as an
|
||||
initramfs inside the kernel image. This integration will
|
||||
take place automatically.
|
||||
|
||||
A rootfs.cpio file will be generated in the images/ directory.
|
||||
This is the archive that will be included in the kernel image.
|
||||
The default rootfs compression set in the kernel configuration
|
||||
is used, regardless of how buildroot's cpio archive is configured.
|
||||
|
||||
Note that enabling initramfs together with another filesystem
|
||||
formats doesn't make sense: you would end up having two
|
||||
identical root filesystems, one embedded inside the kernel
|
||||
image, and one separately.
|
||||
|
||||
comment "initramfs needs a Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
24
deprecated/firmware/buildroot/fs/initramfs/initramfs.mk
Normal file
24
deprecated/firmware/buildroot/fs/initramfs/initramfs.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# Build a kernel with an integrated initial ramdisk
|
||||
# filesystem based on cpio.
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ROOTFS_INITRAMFS_DEPENDENCIES += rootfs-cpio
|
||||
|
||||
ROOTFS_INITRAMFS_POST_TARGETS += linux-rebuild-with-initramfs
|
||||
|
||||
|
||||
# The generic fs infrastructure isn't very useful here.
|
||||
|
||||
rootfs-initramfs: $(ROOTFS_INITRAMFS_DEPENDENCIES) $(ROOTFS_INITRAMFS_POST_TARGETS)
|
||||
|
||||
rootfs-initramfs-show-depends:
|
||||
@echo $(ROOTFS_INITRAMFS_DEPENDENCIES)
|
||||
|
||||
.PHONY: rootfs-initramfs rootfs-initramfs-show-depends
|
||||
|
||||
ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
||||
TARGETS_ROOTFS += rootfs-initramfs
|
||||
endif
|
||||
Reference in New Issue
Block a user