aboutsummaryrefslogtreecommitdiffstats
path: root/fs/initramfs/initramfs.mk
blob: fe426cc3d8bc9c79a4db54c69bdaad7f056a2265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# Build a kernel with an integrated initial ramdisk
# filesystem based on cpio.
#
################################################################################

ROOTFS_INITRAMFS_DEPENDENCIES += rootfs-cpio

ROOTFS_INITRAMFS_POST_TARGETS += linux26-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)

ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
TARGETS += rootfs-initramfs
endif