Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] help crosscompile
@ 2009-11-23 12:22 Jens Kleinhans
  2009-11-23 12:35 ` Daniel Mack
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Kleinhans @ 2009-11-23 12:22 UTC (permalink / raw)
  To: buildroot

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?



-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] help crosscompile
  2009-11-23 12:22 [Buildroot] help crosscompile Jens Kleinhans
@ 2009-11-23 12:35 ` Daniel Mack
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Mack @ 2009-11-23 12:35 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] help crosscompile
@ 2009-11-23 12:59 Jens Kleinhans
  2009-11-23 13:10 ` Lionel Landwerlin
  0 siblings, 1 reply; 4+ messages in thread
From: Jens Kleinhans @ 2009-11-23 12:59 UTC (permalink / raw)
  To: buildroot

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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] help crosscompile
  2009-11-23 12:59 Jens Kleinhans
@ 2009-11-23 13:10 ` Lionel Landwerlin
  0 siblings, 0 replies; 4+ messages in thread
From: Lionel Landwerlin @ 2009-11-23 13:10 UTC (permalink / raw)
  To: buildroot

Looks like you miss-applied a xenomai patch or you're using a xenomai patch
that does not support the arm architecture...

On Mon, Nov 23, 2009 at 1:59 PM, Jens Kleinhans <Jens.Kleinhans@gmx.de>wrote:

>  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
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091123/10c85b6b/attachment.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-23 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 12:22 [Buildroot] help crosscompile Jens Kleinhans
2009-11-23 12:35 ` Daniel Mack
  -- strict thread matches above, loose matches on Subject: below --
2009-11-23 12:59 Jens Kleinhans
2009-11-23 13:10 ` Lionel Landwerlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox