1 ################################################################################
3 # Build a kernel with an integrated initial ramdisk
4 # filesystem based on cpio.
6 ################################################################################
8 ROOTFS_INITRAMFS_DEPENDENCIES
+= rootfs-cpio
10 ROOTFS_INITRAMFS_POST_TARGETS
+= linux-rebuild-with-initramfs
13 # The generic fs infrastructure isn't very useful here.
15 rootfs-initramfs
: $(ROOTFS_INITRAMFS_DEPENDENCIES
) $(ROOTFS_INITRAMFS_POST_TARGETS
)
17 rootfs-initramfs-show-depends
:
18 @echo
$(ROOTFS_INITRAMFS_DEPENDENCIES
)
20 .PHONY
: rootfs-initramfs rootfs-initramfs-show-depends
22 ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS
),y
)
23 TARGETS_ROOTFS
+= rootfs-initramfs