Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Kleinhans <Jens.Kleinhans@gmx.de>
To: buildroot@busybox.net
Subject: [Buildroot] help crosscompile
Date: Mon, 23 Nov 2009 13:59:25 +0100	[thread overview]
Message-ID: <20091123125925.153760@gmx.net> (raw)

On Mon, Nov 23, 2009 at 01:22:21PM +0100, Jens Kleinhans wrote:
> I want to crosscompile kernel with the following command:
> 
> make ARCH=arm? 
CROSS_COMPILE=<path_to_cross-compiler/cross-compiler-prefix->
> 
> I build up my buildroot follwing the guide of 
http://www.at91.com/linux4sam/bin/view/Linux4SAM/BuildRootBuild.
> 
> What must I replace for 
"<path_to_cross-compiler/cross-compiler-prefix->".
> What is the cross-compiler-prefix?

/path/to/your/buildroot/build_arm/staging_dir/usr/bin/arm-linux-

should work.

Daniel
_______________________________________________

Hi Daniel I thanks for this information. But when I type I get the 
following problem. The ipipe directory is missing.? When I do the 
menuconfig of the Linux Kernel with "$ Make ARCH=arm menuconfig"? no 
option about ipipe appears. Have you an idea how to solve this problem

root at benjamin-laptop:/usr/src/linux# make ARCH=arm 
CROSS_COMPILE=/buildroot_new/buildroot/build_arm/staging_dir/usr/bin/arm-linux-
scripts/kconfig/conf -s arch/arm/Kconfig
? CHK???? include/linux/version.h
? UPD???? include/linux/version.h
? SYMLINK include/asm-arm/arch -> include/asm-arm/arch-at91
? Generating include/asm-arm/mach-types.h
? CHK???? include/linux/utsrelease.h
? UPD???? include/linux/utsrelease.h
? SYMLINK include/asm -> include/asm-arm
? CC????? arch/arm/kernel/asm-offsets.s
In file included from include/asm/system.h:366,
???????????????? from include/asm/bitops.h:27,
???????????????? from include/linux/bitops.h:17,
???????????????? from include/linux/kernel.h:15,
???????????????? from include/linux/sched.h:52,
???????????????? from arch/arm/kernel/asm-offsets.c:13:
include/asm-generic/cmpxchg-local.h:4:28: error: asm/ipipe_base.h: No such 
file or directory
In file included from include/linux/sched.h:62,
???????????????? from arch/arm/kernel/asm-offsets.c:13:
include/linux/ipipe.h:32:23: error: asm/ipipe.h: No such file or directory
make[1]: *** [arch/arm/kernel/asm-offsets.s] Fehler 1
make: *** [prepare0] Fehler 2
root at benjamin-laptop:/usr/src/linux# 

-- 
GRATIS f?r alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
    
-- 
Preisknaller: GMX DSL Flatrate f?r nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091123/79407ac8/attachment.htm>

             reply	other threads:[~2009-11-23 12:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 12:59 Jens Kleinhans [this message]
2009-11-23 13:10 ` [Buildroot] help crosscompile Lionel Landwerlin
  -- strict thread matches above, loose matches on Subject: below --
2009-11-23 12:22 Jens Kleinhans
2009-11-23 12:35 ` Daniel Mack

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=20091123125925.153760@gmx.net \
    --to=jens.kleinhans@gmx.de \
    --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