Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Assaf Inbal <shmuelzon@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Building For Host as Target
Date: Fri, 4 May 2012 01:18:44 +0300	[thread overview]
Message-ID: <-8605358054763519755@unknownmsgid> (raw)
In-Reply-To: <20120503231726.25b32670@skate>

Hey,

Perhaps I didn't do a very good job of explaining what I'm after so I'll
try to do just that:

While it's true that buildroot, as is, was meant to compile an entire Linux
for embedded, it also provides other functionality. The functionality I was
after for my project was the ability to generate one large framework built
from many independent packages. Buildroot does just that. It's scalable,
package oriented with dependancies, caches downloaded packages and other
functionalities.

The project I'm working on is meant to be run on an embedded Linux platform
for which I don't build the entire file system, I received it with one I
must use, but just add my program and extra libraries needed.
For that reason I've removed the kernel and file system skeleton from build
root and a few other things from build root.
Now, after I've successfully set up everything and was able to compile the
libraries I need and a sample application using an external toolchain, I
also want to be able to build and develop on my pc since it's easier than
the target platform.
So, if build root would have the option to set the target platform the same
as the host, then all my problems would be solved.

Thanks


On 4 ???? 2012, at 00:17, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:

Le Thu, 3 May 2012 23:14:30 +0300,
Assaf Inbal <shmuelzon@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
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120504/ecfec3a1/attachment.html>

  reply	other threads:[~2012-05-03 22:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03 15:14 [Buildroot] Building For Host as Target Assaf Inbal
2012-05-03 16:14 ` Thomas Petazzoni
2012-05-03 20:14   ` Assaf Inbal
2012-05-03 21:17     ` Thomas Petazzoni
2012-05-03 22:18       ` Assaf Inbal [this message]
2012-05-03 18:08 ` Baruch Siach
2012-05-03 20:08   ` Assaf Inbal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=-8605358054763519755@unknownmsgid \
    --to=shmuelzon@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox