[Buildroot] Building For Host as Target

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu May 3 21:17:26 UTC 2012


Le Thu, 3 May 2012 23:14:30 +0300,
Assaf Inbal <shmuelzon at gmail.com> a écrit :

> While host variants will run, it means that I still need to compile
> for some target platform. The output in the host directory will also
> include many other things not needed. Unless someone will come up
> with a better idea, I'm considering creating a new toolchain type
> (along side with buildroot and "external"). If I'll be pleased with
> the result I'll post a patch.

I am really not sure to understand what your use case is. The principle
of Buildroot is to generate an embedded Linux for a target platform
that has a different CPU architecture than the build platform, and
Buildroot uses cross-compilation to achieve this. If you're outside
this basic principle of Buildroot, I would probably say that Buildroot
isn't the right tool for the job you're trying to do.

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