fs/initramfs: fix initramfs support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 6 Mar 2014 20:55:34 +0000 (17:55 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 Mar 2014 22:01:33 +0000 (23:01 +0100)
On commit a24877586a566e052897e50e6a0c2f53cfb029f TARGETS_ROOTFS was
introduced, however fs/initramfs/initramfs.mk was never updated, hence a
show-targets would be rootfs-initramfs with rootfs-cpio afterwards hence
never rebuilding the kernel with a proper cpio archive since TARGETS is
always before rootfs-* as stated in the commit description.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
fs/initramfs/initramfs.mk

index 7820d65a4234303fca7c11f83e3029f372a797e0..5d3ea89f2342d4016ee348599c2d17cc68a15f38 100644 (file)
@@ -18,5 +18,5 @@ rootfs-initramfs-show-depends:
        @echo $(ROOTFS_INITRAMFS_DEPENDENCIES)
 
 ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
-TARGETS += rootfs-initramfs
+TARGETS_ROOTFS += rootfs-initramfs
 endif