Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] build an "autotooled" that is out of tree
@ 2012-09-13 21:00 David Bonnin
  2012-09-14  8:50 ` Romain Izard
  0 siblings, 1 reply; 3+ messages in thread
From: David Bonnin @ 2012-09-13 21:00 UTC (permalink / raw)
  To: buildroot

Hello,

We have a projet that out of the buildroot tree.
This projet is build with autotools.

When we run .configure script of our projet, we need to set a lot of env 
variable and pas os it to ./configure.

Is there a way to do that?
Or what is the good way to manage a projet out of tree?

#pwd
/home/toto/src/myPrj
#source ~/buildroot/output/env
#./configure
#make install

David Bonnin

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

* [Buildroot] build an "autotooled" that is out of tree
  2012-09-13 21:00 [Buildroot] build an "autotooled" that is out of tree David Bonnin
@ 2012-09-14  8:50 ` Romain Izard
  2012-10-04 20:32   ` dboml
  0 siblings, 1 reply; 3+ messages in thread
From: Romain Izard @ 2012-09-14  8:50 UTC (permalink / raw)
  To: buildroot

On 2012-09-13, David Bonnin <dboml@free.fr> wrote:
> Hello,
>
> We have a projet that out of the buildroot tree.
> This projet is build with autotools.
>
> When we run .configure script of our projet, we need to set a lot of env 
> variable and pas os it to ./configure.
>
Put the buildroot compiler path (<buildroot path>/output/host/usr/bin/) 
in your PATH, and launch ./configure --host=<compiler prefix>. The compiler
there is a wrapper to the real compiler, with additional default settings.

This should take care of most problems.

-- 
Romain Izard

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

* [Buildroot] build an "autotooled" that is out of tree
  2012-09-14  8:50 ` Romain Izard
@ 2012-10-04 20:32   ` dboml
  0 siblings, 0 replies; 3+ messages in thread
From: dboml @ 2012-10-04 20:32 UTC (permalink / raw)
  To: buildroot

Hello, thanks, it works.

With the project autooled, i do:
autoreconf --install

Put the buildroot compiler path (<buildroot path>/output/host/usr/bin/)

./configure --host=<compiler prefix>

Do i have have to change PATH before autoreconf ?

Thanks.
David.

Le 14/09/2012 10:50, Romain Izard a ?crit :
> On 2012-09-13, David Bonnin <dboml@free.fr> wrote:
>> Hello,
>>
>> We have a projet that out of the buildroot tree.
>> This projet is build with autotools.
>>
>> When we run .configure script of our projet, we need to set a lot of env
>> variable and pas os it to ./configure.
>>
> Put the buildroot compiler path (<buildroot path>/output/host/usr/bin/)
> in your PATH, and launch ./configure --host=<compiler prefix>. The compiler
> there is a wrapper to the real compiler, with additional default settings.
>
> This should take care of most problems.
>

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

end of thread, other threads:[~2012-10-04 20:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-13 21:00 [Buildroot] build an "autotooled" that is out of tree David Bonnin
2012-09-14  8:50 ` Romain Izard
2012-10-04 20:32   ` dboml

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