From 102ca91d741d0d271d96170df491bec7fdb7880a Mon Sep 17 00:00:00 2001 From: Will Wagner Date: Mon, 19 Apr 2010 15:34:49 +0100 Subject: Repair initramfs dependancies after move to fs The restructure for building root filesystems changed the target name for the initramfs file, to build the file the trget is now initramfs-root but the generated file is rootfs.initramfs Signed-off-by: Will Wagner Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- fs/initramfs/initramfs.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fs') diff --git a/fs/initramfs/initramfs.mk b/fs/initramfs/initramfs.mk index 4a205d1ce..9aaf1b04a 100644 --- a/fs/initramfs/initramfs.mk +++ b/fs/initramfs/initramfs.mk @@ -6,6 +6,12 @@ # ############################################################# +ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) +INITRAMFS_TARGET:=initramfs-root +else +INITRAMFS_TARGET:= #nothing +endif + define ROOTFS_INITRAMFS_INIT_SYMLINK rm -f $(TARGET_DIR)/init ln -s sbin/init $(TARGET_DIR)/init -- cgit v1.2.3