* [Buildroot] "output" directory for multiple targets
@ 2010-12-14 21:34 Justin Mark
2010-12-14 21:40 ` Yann E. MORIN
0 siblings, 1 reply; 4+ messages in thread
From: Justin Mark @ 2010-12-14 21:34 UTC (permalink / raw)
To: buildroot
Hi,
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?
Many thanks,
Justin
^ permalink raw reply [flat|nested] 4+ messages in thread* [Buildroot] "output" directory for multiple targets
2010-12-14 21:34 [Buildroot] "output" directory for multiple targets Justin Mark
@ 2010-12-14 21:40 ` Yann E. MORIN
2010-12-14 23:31 ` Justin Mark
2010-12-15 10:29 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Yann E. MORIN @ 2010-12-14 21:40 UTC (permalink / raw)
To: buildroot
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. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] "output" directory for multiple targets
2010-12-14 21:40 ` Yann E. MORIN
@ 2010-12-14 23:31 ` Justin Mark
2010-12-15 10:29 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Justin Mark @ 2010-12-14 23:31 UTC (permalink / raw)
To: buildroot
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@anciens.enib.fr> wrote:
> From: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
> Subject: Re: [Buildroot] "output" directory for multiple targets
> To: buildroot at busybox.net
> Cc: "Justin Mark" <oilehus@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.? |
> '------------------------------^-------^------------------^--------------------'
>
^ permalink raw reply [flat|nested] 4+ messages in thread* [Buildroot] "output" directory for multiple targets
2010-12-14 21:40 ` Yann E. MORIN
2010-12-14 23:31 ` Justin Mark
@ 2010-12-15 10:29 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-12-15 10:29 UTC (permalink / raw)
To: buildroot
On Tue, 14 Dec 2010 22:40:20 +0100
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> wrote:
> 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.
Or, using the exact same feature, but differently, what I do is :
cd buildroot/
mkdir ../outputs/device1
make O=../outputs/device1 menuconfig
make O=../outputs/device1
mkdir ../outputs/device2
make O=../outputs/device2 menuconfig
make O=../outputs/device2
and so on.
This O= feature is documented in our documentation,
http://buildroot.org/downloads/buildroot.html#using.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-12-15 10:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-14 21:34 [Buildroot] "output" directory for multiple targets Justin Mark
2010-12-14 21:40 ` Yann E. MORIN
2010-12-14 23:31 ` Justin Mark
2010-12-15 10:29 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox