From: "Martin Schlemmer [c]" <azarah@nosferatu.za.org>
To: Peter Chubb <peter@chubb.wattle.id.au>
Cc: linux-kernel@vger.kernel.org, Sam Ravnborg <sam@ravnborg.org>
Subject: Re: Can't build current 2.6 with separate output directory [u]
Date: Mon, 25 Oct 2004 19:33:42 +0200 [thread overview]
Message-ID: <1098725622.12420.34.camel@nosferatu.lan> (raw)
In-Reply-To: <16764.57958.975620.565173@wombat.chubb.wattle.id.au>
[-- 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 --]
prev parent reply other threads:[~2004-10-25 17:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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] [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1098725622.12420.34.camel@nosferatu.lan \
--to=azarah@nosferatu.za.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peter@chubb.wattle.id.au \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®