Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Dargaud <dargaud@lpsc.in2p3.fr>
To: buildroot@busybox.net
Subject: [Buildroot] ARCH=ppc vs powerpc
Date: Wed, 2 Apr 2008 18:23:14 +0200	[thread overview]
Message-ID: <0d6e01c894dd$dcebbfe0$f52f9e86@LPSC0173W> (raw)
In-Reply-To: 8763v071sq.fsf@macbook.be.48ers.dk


> Because target/linux/Makefile.in uses KERNEL_ARCH for ARCH setting,
> and not what you have set ARCH to on the cmdline.
>
> KERNEL_ARCH is calculated in
> toolchain/kernel-headers/kernel-headers.mk - Notice that arch/ppc is
> deprecated, you should use arch/powerpc nowadays.


Thank you very much.

Now I can do this properly [*]:
$ make ARCH=ppc KERNEL_ARCH=ppc linux26

And also this:
$ make ARCH=ppc uclibc
$ make ARCH=ppc busybox

Now how do I combine it all in one line ? This doesn't work:
$ make ARCH=ppc KERNEL_ARCH=ppc


[*]: yet it fails at the very end:
[...]
cp -f arch/ppc/boot/simple/zvmlinux arch/ppc/boot/images/zImage.elf
rm -f arch/ppc/boot/simple/zvmlinux
make[1]: Leaving directory 
`/home/guinevere/buildroot/project_build_ppc/genepy/linux-2.6.24'
cp -dpf 
/home/guinevere/buildroot/project_build_ppc/genepy/linux-2.6.24/arch/ppc/boot/zImage 
/home/guinevere/buildroot/binaries/genepy/ppc-linux-2.6.24-20080402.z
cp: cannot stat 
`/home/guinevere/buildroot/project_build_ppc/genepy/linux-2.6.24/arch/ppc/boot/zImage': 
No such file or directory
make: *** 
[/home/guinevere/buildroot/binaries/genepy/ppc-linux-2.6.24-20080402.z] 
Error 1

-- 
Guillaume Dargaud
http://www.gdargaud.net/ 

  reply	other threads:[~2008-04-02 16:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-02 14:16 [Buildroot] ARCH=ppc vs powerpc Guillaume Dargaud
2008-04-02 14:45 ` Peter Korsgaard
2008-04-02 16:23   ` Guillaume Dargaud [this message]
2008-04-02 16:41   ` Bernhard Fischer
2008-04-03 12:09     ` Guillaume Dargaud
2008-04-03 12:24       ` Peter Korsgaard
2008-04-03 14:20         ` Guillaume Dargaud
2008-04-03 15:09           ` Peter Korsgaard
2008-04-03 15:34             ` Guillaume Dargaud
2008-04-04  8:03               ` Peter Korsgaard
2008-04-04  9:02                 ` Guillaume Dargaud
2008-04-04  9:37                   ` Peter Korsgaard
2008-04-04 10:28                     ` Guillaume Dargaud
2008-04-04 11:07                       ` Peter Korsgaard
2008-04-04 12:30                         ` Guillaume Dargaud
2008-04-04 13:37                           ` Peter Korsgaard
2008-04-04 14:10                           ` Bernhard Fischer
2008-04-04 14:18                             ` Peter Korsgaard
2008-04-04 16:00                             ` Guillaume Dargaud
2008-04-04 18:02                               ` Peter Korsgaard

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='0d6e01c894dd$dcebbfe0$f52f9e86@LPSC0173W' \
    --to=dargaud@lpsc.in2p3.fr \
    --cc=buildroot@busybox.net \
    /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