* Can't build current 2.6 with separate output directory
@ 2004-10-25 11:24 Peter Chubb
2004-10-25 17:33 ` Can't build current 2.6 with separate output directory [u] Martin Schlemmer [c]
0 siblings, 1 reply; 2+ messages in thread
From: Peter Chubb @ 2004-10-25 11:24 UTC (permalink / raw)
To: linux-kernel, sam
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can't build current 2.6 with separate output directory [u]
2004-10-25 11:24 Can't build current 2.6 with separate output directory Peter Chubb
@ 2004-10-25 17:33 ` Martin Schlemmer [c]
0 siblings, 0 replies; 2+ messages in thread
From: Martin Schlemmer [c] @ 2004-10-25 17:33 UTC (permalink / raw)
To: Peter Chubb; +Cc: linux-kernel, Sam Ravnborg
[-- Attachment #1: Type: text/plain, Size: 1464 bytes --]
On Mon, 2004-10-25 at 21:24 +1000, Peter Chubb wrote:
>
> 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
> -
initramfs_list is modified, so it should be in the output dir. There
are a few other patches floating around that fixes this properly.
Cheers,
--
Martin Schlemmer
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-25 17:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-25 11:24 Can't build current 2.6 with separate output directory Peter Chubb
2004-10-25 17:33 ` Can't build current 2.6 with separate output directory [u] Martin Schlemmer [c]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®