[Buildroot] "output" directory for multiple targets
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Dec 15 10:29:08 UTC 2010
On Tue, 14 Dec 2010 22:40:20 +0100
"Yann E. MORIN" <yann.morin.1998 at 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
More information about the buildroot
mailing list