[PATCH] Re: 2.6.9-bk6 initramfs build failure with separate object dir

From: Doug Maxey
Date: Fri Oct 22 2004 - 16:21:21 EST



On Thu, 21 Oct 2004 11:43:42 PDT, Tom Duffy wrote:
>
>[tduffy@duffman linux-2.6.9-bk-openib]$ make O=/build1/tduffy/openib-work/build/bk/3.4/x86_64/
> Using /build1/tduffy/openib-work/linux-2.6.9-bk-openib as source for kernel
> CHK include/linux/version.h
>make[2]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
> CHK include/asm-x86_64/offset.h
> CHK include/linux/compile.h
> GEN_INITRAMFS_LIST usr/initramfs_list
>Using shipped usr/initramfs_list
> CPIO usr/initramfs_data.cpio
>ERROR: unable to open 'usr/initramfs_list': No such file or directory
...

Signed-off-by: Doug Maxey <dwm@xxxxxxxxxxxxxx>

Should apply to all 2.6.9.

--- lk-2.6.9-mm1/usr/Makefile 2004-10-22 15:10:37.762298752 -0500
+++ lk-2.6.9-mm1.edit/usr/Makefile 2004-10-22 15:57:49.322317968 -0500
@@ -8,7 +8,7 @@ clean-files := initramfs_data.cpio.gz
# If you want a different list of files in the initramfs_data.cpio
# then you can either overwrite the cpio_list in this directory
# or set INITRAMFS_LIST to another filename.
-INITRAMFS_LIST := $(obj)/initramfs_list
+INITRAMFS_LIST := $(srctree)/$(obj)/initramfs_list

# initramfs_data.o contains the initramfs_data.cpio.gz image.
# The image is included using .incbin, a dependency which is not

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/