Messages in this thread Patch in this message | | | From | Peter Chubb <> | Date | Mon, 25 Oct 2004 21:24:22 +1000 | Subject | Can't build current 2.6 with separate output directory |
| |
I see this:
$ make O=../build/i386/linux-2.6.10-rc1 V=1 ... CHK include/linux/compile.h make -f /usr/src/linux-2.5-import/scripts/Makefile.build obj=usr echo Using shipped usr/initramfs_list Using shipped usr/initramfs_list ./usr/gen_init_cpio usr/initramfs_list > usr/initramfs_data.cpio ERROR: unable to open 'usr/initramfs_list': No such file or directory
because usr/Makefile is trying to access $(obj)/usr/initramfs_list instead of $(src)/usr/initramfs_list.
Here's a (probably incorrect) patch:
Signed-off-by: Peter Chubb.
===== usr/Makefile 1.12 vs edited ===== --- 1.12/usr/Makefile 2004-10-20 18:37:03 +10:00 +++ edited/usr/Makefile 2004-10-25 21:22:23 +10:00 @@ -8,7 +8,7 @@ # 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 := $(KBUILD_SRC)/usr/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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |