buildrootschalter/linux
Thomas Petazzoni ed23c92b62 linux: enable initrd/initramfs support when cpio rootfs is chosen
When one enables the generation of a cpio archive of the root
filesystem, the most likely usage is as an initramfs for the
kernel. This commit ensures that the kernel has initramfs support when
the rootfs cpio image format is chosen.

This will for example ensure that if the user selects the ISO9660
filesystem format (which uses a cpio initramfs), the kernel will have
proper support to load and use the initramfs.

It is worth mentionning that when BR2_TARGET_ROOTFS_INITRAMFS is
enabled, then BR2_TARGET_ROOTFS_CPIO is always enabled. That's why we
move the enabling of CONFIG_BLK_DEV_INITRD from the initramfs case to
the cpio case.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2013-12-29 18:58:26 +01:00
..
Config.ext.in Config.in files: whitespace cleanup 2013-11-11 22:19:30 +01:00
Config.in linux: bump to version 3.12.6 2013-12-21 14:18:50 +01:00
linux-ext-rtai.mk Normalize separator size to 80 in remaining makefiles 2013-06-20 17:32:07 +02:00
linux-ext-xenomai.mk Normalize separator size to 80 in remaining makefiles 2013-06-20 17:32:07 +02:00
linux.mk linux: enable initrd/initramfs support when cpio rootfs is chosen 2013-12-29 18:58:26 +01:00