[Buildroot] "output" directory for multiple targets

Justin Mark oilehus at yahoo.com
Tue Dec 14 23:31:57 UTC 2010


Hi Yann,

That's exactly what I was looking for, thanks a lot.

Justin

--- On Tue, 12/14/10, Yann E. MORIN <yann.morin.1998 at anciens.enib.fr> wrote:

> From: Yann E. MORIN <yann.morin.1998 at anciens.enib.fr>
> Subject: Re: [Buildroot] "output" directory for multiple targets
> To: buildroot at busybox.net
> Cc: "Justin Mark" <oilehus at yahoo.com>
> Date: Tuesday, December 14, 2010, 1:40 PM
> Justin, All,
> 
> On Tuesday 14 December 2010 22:34:14 Justin Mark wrote:
> > If I want to use buildroot for multiple targets (or
> devices), is there a way
> > to specify each target's own "output" directory (not
> only the destination
> > root filesystem folder)? so I can keep all the build
> results for different
> > targets?
> 
> You can do out-of-tree builds, one for each of your
> devices:
>   mkdir device-1
>   cd device-1
>   make -C "/path/to/buildroot" O="$(pwd)" menuconfig
>   make
> 
> The first time you run 'make -C....', as above, it creates
> wrapper Makefile
> in $(pwd) that allows you to simply call make the following
> times.
> 
> And so on for each of your devices...
> 
> Regards,
> Yann E. MORIN.
> 
> -- 
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\
> ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ /
> CAMPAIGN     |  ___   
>            |
> | +33 223 225 172 `------------.-------:  X 
> AGAINST      |  \e/  There is
> no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML
> MAIL   
> |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'
> 


      



More information about the buildroot mailing list